Quick question regarding a react + redux front-end for a social media application that queries for new posts frequently, and therefore updates the back-end database frequently. The user on the front-end gets to approve or block the posts as they come in.
What is a good timeline/process for keeping the redux store matched up with the back-end database?
Would the front-end regularly query for any new posts in the backend, load them into the redux store, then when the user hits 'approve' for a post, a request is sent to the back-end, and if 200 OK, update the redux store?
Thanks.