0👍
Assuming that you are using data.users instead of data now
created () {
userRef.on('child_added', snapshot => {
this.data.users.push({ ...snapshot.val()})
})
}
so on new child addition the table will update automatically.
👤Atul
- [Vuejs]-How to use Vuex with asynchronous computed setter property
- [Vuejs]-Giving 404 for only '/' route (Nuxt JS) – Shared Hosting Deployment
Source:stackexchange.com