It would be nice if we had some kind of store so we don't need to keep refetching data from Contentful on any route. mobx uses decorators and is pretty lightweight to implement. I think it would be a good start so we can fetch resources and categories and store them in local storage.
It would be nice if we had some kind of store so we don't need to keep refetching data from Contentful on any route.
mobx
uses decorators and is pretty lightweight to implement. I think it would be a good start so we can fetchresources
andcategories
and store them in local storage.