How do you handle stale data when using React and REST APIs
If you have a component that displays some data fetched from a REST API and another component that modifies that data on the backend using a post request how do you keep the first components state fresh? The Apollo client for graphql seems to have some nice functionality to facilitate this but I can't think up a good solution while using REST.
Thanks!