v0.4.0

kriasoft/react-starter-kitv0.4.0Aug 28, 2015by koistya

AI Summary

Major release that replaces Gulp with custom JavaScript build scripts, removes LESS in favor of PostCSS, and adds an isomorphic HTTP client. The release significantly simplifies the codebase by removing Flux actions, stores, and Database.js while improving server-side rendering.

Key Highlights

  • Remove Gulp in favor of custom JavaScript-based build automation scripts
  • Remove LESS in favor of plain CSS via PostCSS and cssnext
  • Add isomorphic HTTP client based on superagent
  • Add RESTful API sample routes based on Express
  • Pre-render critical CSS on initial page load to eliminate FOUC

Breaking Changes

  • Remove Flux actions and stores - significant architectural change
  • Remove Database.js file - affects data layer
  • Render to div#app instead of document.body - template change

New Features

  • Integrate react-routing and history npm modules
  • Refactor content pages loading mechanism
  • Compile static files into build/public folder
  • Improve server-side rendering logic
  • Improve documentation and update dot files

Full Release Notes

- Remove Gulp in favor of custom JavaScript-based build automation scripts
- Integrate `react-routing` and `history` npm 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` (see `src/core/HttpClient.js`)
- Remove LESS in favor of plain CSS via `PostCSS`, `cssnext`
- Get rid of Uglifyjs warnings during build in `release` mode
- Remove `Database.js` file to reduce overload and simplify server-side rendering
- Compile static files into the `build/public` folder
- 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 of `document.body`
- Improve server-side rendering logic
- Improve documentation
- Update dot files with project settings for text editors and IDEs