I've created this all-in-one guide for beginners to get an opinionated walkthrough from start to finish:
babel, ES2015, ES2016, JSX, React, Redux, CSS-in-JS, and more.
Proudly presenting, React Express!
Table of Contents
- ES2016 and More
- Performance Model
- Event Handling
- Input Handling
- Conditional Rendering
- Lists and Keys
- Refs and the DOM
If you'd like to contribute, follow along below to get the repo set up.
Running Dev Server
For working on the client (new pages, etc):
npm run dev:client
This will run the webpack dev server with hot reload.
For working on the server:
npm run dev:server
This will build the server bundle for server-side rendering.
For working on both client and server:
npm run dev
Building and Running Production Server
npm run build npm run start
Make sure to lint and prettify your code!
npm run format npm run test
MIT, Copyright (c) 2017 Devin Abbott
Devin Abbott, @dvnabbott