I need to display some data (mostly text) in my react-app. The data is more like guidelines and will not be changed often. So storing it to DB doesn't make sense to me here. What are the ways to store this in frontend?
What I did: I'm thinking of putting this data in a markdown file, fetch this async, and convert it to JSON in rendering. (I'm using this library) for the conversion.
Is there any other way to do this without directly putting all the information into the code directly? I could use a JSON, but it will require a developer to change the data if needed. even though the data won't be changed from user interaction, there should be a provision for someone without knowledge of JSON/ coding that could update the data later. So basically I need to avoid dependency on developers for data changes. What will be the recommended way to achieve this?