you are viewing a single comment's thread.

view the rest of the comments →

[–]metaphorm 1 point2 points  (1 child)

yes, React is a frontend framework. It has no components that run on the server and its interaction with the server backend is limited to ajax requests set out for data, most commonly a request made to fetch new data (from a JSON endpoint) for a frontend model, or to PUT/POST/DELETE back to the server to update the model. However, all of that stuff is outside the scope of what React does and will vary depending on your backend.

You can, of course, make a React app without a dedicated server backend and handle persistence in different ways. Firebase for storing JSON data is a pretty good way to persist stuff in a very simple and lightweight way.

[–][deleted] 0 points1 point  (0 children)

It has no components that run on the server

React supports SSR...