kyt-starter-universal
kyt-starter-universal copied to clipboard
Deprecated, see: https://github.com/NYTimes/kyt/tree/master/packages/kyt-starter-universal
Deprecated: This starter-kyt has been moved into the kyt monorepo. New Location
Universal React starter-kyt
This starter-kyt should serve as the base for an advanced, server and client-rendered React app.
Installation
- Create a new directory and install kyt
-
node_modules/.bin/kyt setup -r [email protected]:NYTimes/kyt-starter-universal.git
Tools
The following are some of the tools included in this starter-kyt:
- Express - Server-side rendering
- React - Component library
- React Router - Server and client routing
- Sass Modules - CSS Modules with a Sass pre-processor for styles
- Enzyme - React component testing
Notes on implementation
- 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.
How To Contribute
Want to build your own starter-kyt? See directions here.