taniarascia / comments

Comments
7 stars 0 forks source link

React is a static, front end only framework. The state is temporary. For data persistence you need a backend database, or at the very least localStorage to make the data changes persist on refresh. #139

Open GeneBuchite opened 1 year ago

GeneBuchite commented 1 year ago
          React is a static, front end only framework. The state is temporary. For data persistence you need a backend database, or at the very least localStorage to make the data changes persist on refresh.

Originally posted by @taniarascia in https://github.com/taniarascia/comments/issues/7#issuecomment-744062159

Do you have a backend tutorial to extend this with? I am currently working on this using Node.JS and mysql. Please check out the readme found here https://github.com/GeneBuchite/Tania_from_scratch/tree/Forms, and let me know if it is legal and ethical for me to have this on my github page as written. If you are interested you can follow my progress, collaberate, or simply use the code at any point to create a blog for connecting Node.JS Backend with react front end... provided that I can get it connected. Again thank you for posting your blogs. I really appreciate your no B.S. style!

GeneBuchite commented 1 year ago

OK I see a tutorial on react hooks found here https://www.taniarascia.com/crud-app-in-react-with-hooks/ . I should be able to get things figured from there.

As Always Thank you for your blogs, your time, and espically your no B.S. style!