I'm building a web app, and it will fetch JSON files which will be used in multiple react components.
How is this usually done?
I have thought about importing JSON objects from where they are fetched, but I think that is probably not a good idea. I currently use redux actions to fetch JSONs and store them in redux states.
Is there a better way to do this?