Michael Jones Michael Jones - 8 months ago 42
React JSX Question

Server side rendering with React, would the browser still need to load in React?

if I where to render all of my content for React on the server, would I still need to import React to the browser? I don't plan on using React-Router, and I know React is a bigger file, so it would be nice if I didn't have to load it in each time.


You do need it if you are planning to allow the user to interact with the components or your app, if you are just rendering text without any button or any other interaction, then I guess it would not be required.