This starter-kyt should serve as the base for an advanced, server and client-rendered React app.
- Create a new directory and install kyt
kyt-cli setup -r https://github.com/julianvmodesto/kyt-starter-universal-redux.git
The following are some of the tools included in this starter-kyt:
- Express - Server-side rendering
- React - Component library
- Redux - Server and client rendering
- React Router with React Router Redux - Server and client routing
- Sass Modules - CSS Modules with a Sass pre-processor for styles
- Enzyme - React component testing
- Redux DevTools
- Redux Thunk and Isomorphic Fetch
NOTE: kyt doesn't copy devDependencies, which include redux-devtools, so make sure to install these after setup
- Example of redux reducer, preferably with a thunk + fetch
- As a performance optimization, React Router routes are loaded dynamically and chunked separately using the ES2015
System.import
directive. See more about Webpack 2 support and dynamic routing.
Want to build your own starter-kyt? See directions here.