by Austin Malerba

Introducing react-use-database: client-side relational data just got easier

An issue that’s plagued React apps everywhere: after updating a resource on the server, how do I update my UI state to reflect the changes?

Typically there are two solutions:

  1. Use the app’s existing data-fetching mechanisms to reload the data (essentially refresh the page on the user’s behalf)