o list do AngularFireDatabase não é mais um observable??
// change to valueChanges()
constructor(afDb: AngularFireDatabase) {
afDb.list('items').subscribe(console.log);
}
//to
constructor(afDb: AngularFireDatabase) {
afDb.list<Item>('items').valueChanges().subscribe(console.log);
}
Also in JavaScript:
- javascript reserved words
- switch alert
- how to get user ip address in javascript
- npm ERR! errno ECONNRESET
- console log larger
- single node elasticsearch with enable security basic in docker
- how to export switch from react-router-dom
- ran ctrl c and npm server is still running
- angular build production
- check if string contains character javascript
- <FilterProvider> errorr
- javascript async script
- Please update your node with version 8.11.3 or greater (but not version 10)
- async function fetchJson
- disable long press on chrome
- js detect mobile
- urlencode jquery
- style display block js
- how to set up a success message show up if form is submitted in react hooks
- javascript remove all event listeners
- remove special characters from string javascript
- smaler div on devices
- reusable table in react js
- how to translate english to hindi after enter space using javascript