Posts by Jose Alves • 1 point
1 post
-
0
votes1
answer78
viewsQ: How to work with asynchrony using Reactjs
I have the following code: requireUsers = () => { this.users = database.ref('users') this.users.on('value', snapshot => { this.state.users = snapshot.val()…