I have deployed a simple site to Netlify built with Gatsby that lets me view, add and delete events to a calendar, journal and todo list etc.
Can anyone tell me some way of saving the changes I make when I use my web app so that they are stored by the app. At the moment the React component state reverts to my default values each time I refresh the page.
Is it possible to write to files in my GitHub repository somehow so I can save the component’s state? When I was playing around with Nodejs it was a case of using the fs module to read and write to files, but I was only using that on a local server and I can’t find a way of doing this kind of thing with Gatsby.
I have started looking into Netlify CMS but I’m not sure that’s really what I want.
Many thanks for any help you can give.