How to update Firebase data to the React application in realtime
问题 I'm developing an application that updates Firebase data in realtime to React. What I want to do is that a user updates the state in the app, at the same time it should be updated for another user. I have built it done but it continually renders renderStatus() and it's too slow. I want to make it updated once RDB data updated. class Status extends Component { constructor(props) { super(props); this.state = { to_status: false, from_status: false }; } // change the state in RDB handleSatus = ()