This is a template for building React.js web apps without browserify, babel, and JSX.
This project sends html to the browser based on authentication logic.
The user will see the unique html allowed by their security role. specified_in_server.js
git clone https://github.com/MichaelDimmitt/express_serving_minimal_react.git
npm install
node server.js
This project is a learning repo for understanding how react can be implemented without webpack/browserfi, and babel transpiling your JSX.
Many use react for its readibility. This project does not have the readibility because it does not take advantage of JSX being transpiled into browser compatable javascript.
Coding is hard without babel:
Correct, this project is about understanding that babel is transpiling your code into: yikes!
Why the express server?
Using an express server we can control the html being sent to the browser based on authentication logic.
The user will see the unique html allowed by their security role. specified_in_server.js
Arguably the reasons why someone uses react: minimal-react-starter
This starter is as minimal as possible while still including Babel and Webpack. why-minimal-react-starter-is-not-more-minimal