React Starter Kit v0.4.0
Build & Tooling
- Replaced Gulp with custom JavaScript build scripts
- Migrated from LESS to PostCSS + cssnext for CSS processing
- Eliminated Uglifyjs warnings in release builds
- Static files now compile to
build/public
Architecture
- Removed Flux (actions/stores) to simplify state management
- Removed
Database.js; improved server-side rendering logic - Refactored content pages (About, Privacy, etc.) loading
- Added isomorphic HTTP client (
src/core/HttpClient.js) using superagent
Frontend
- Integrated
react-routingandhistorynpm modules - Render root component to
<div id="app"></div>instead ofdocument.body - Added critical CSS pre-rendering to prevent FOUC
Backend
- Added sample RESTful API routes via Express (
src/api/*.js)
Other
- Updated editor/IDE dotfiles
- Improved documentation
- Remove Gulp in favor of custom JavaScript-based build automation scripts
- Integrate
react-routingandhistorynpm modules - Remove Flux actions, stores to reduce unnecessary overload
- Refactor the way content pages (About Us, Privacy etc.) are loaded into the app
- Add basic version of an "isomorphic" HTTP client based on
superagent(seesrc/core/HttpClient.js) - Remove LESS in favor of plain CSS via
PostCSS,cssnext - Get rid of Uglifyjs warnings during build in
releasemode - Remove
Database.jsfile to reduce overload and simplify server-side rendering - Compile static files into the
build/publicfolder - Add a couple of RESTful API sample routes based on Express (see
src/api/*.js) - Pre-render critical CSS on the initial page load to deal with FOUC
- Render the top level component to
<div id="app"></div>instead ofdocument.body - Improve server-side rendering logic
- Improve documentation
- Update dot files with project settings for text editors and IDEs