- Replaces
react-transform-webpack-hmr
with its replacementreact-transform-hmr
. Thanks to daviferreira. - Replaces
delicate-error-reporter
withredbox-react
. Thanks to bulby97. - Created a
no-server
branch here to make it easier for users who don't care about Koa.
- Renames
client
directory tosrc
to be more intuitive. inline-source-map
has been replaced bysource-map
as the default webpack devTool to reduce build sizes.- Refactors configuration file to focus on commonly-configured options rather than mixing them with internal configuration.
- Swaps
dev
anddev:debug
so debug tools are now enabled by default and can be disabled instead withdev:no-debug
. - Repositions Redux devtools so they no longer block errors displayed by
redbox-react
. - Adds explicit directory references to some
import
statements to clarify which are from fromnpm
and which are local.
- Fixes naming in
HomeView
wheremapStateToProps
was incorrectly written asmapDispatchToProps
.
- Removes local test utilities (in
~/src/utils/test
).
- Adds
react-transform-catch-errors
along withdelicate-error-reporter
. Thanks bulby97 for this!
- ExtractTextPlugin is once again production only. This fixes an issue where styles wouldn't be hot reloaded with Webpack.
- Upgrades react-router to
^3.0.0
. This is the only reason for the minor-level version bump. - Webpack now uses OccurrenceOrderPlugin to produce consistent bundle hashes.
- Adds
history
to vendor dependencies to fix HMR caused by upgrade to react-router1.0.0-rc
- Server no longer modifies initial counter state by default.
- Adds invariant error in route rendering method to enforce router state definition through props.
- Upgrades all React dependencies to
0.14.0-rc1
- Upgrades react-router to
1.0.0-rc
- Updates client and server rendering accordingly
- Adds Sinon-Chai for improved assertions and function spies
- Adds option to disable eslint when in development
- Improved example unit tests using react-addons-test-utils and Sinon Chai
- Initial state can now be injected from the server (still WIP).
- Adds react-addons-test-utils as a devDependency.
- Eslint no longer prevents webpack from bundling in development mode if an error is emitted.
- Updates all
.jsx
files to.js
. (dvdzkwsk/react-redux-starter-kit#37) - Updates all React component file names to be ProperCased.
- Koa server now uses gzip middleware.
- Switches out react-hot-loader in favor of react-transform-webpack-hmr.
- Eslint configuration now uses Airbnb's configuration (slightly softened).
- Migrates all actual development dependencies to devDependencies in
package.json
. - Example store and view are now more intuitive (simple counter display).
- CSS-loader dependency upgraded from
0.16.0
to0.17.0
.
- Removes unnecessary object-assign dependency.
- All build-, server-, and client-related code is now ES6.
- Significantly refactors how client and server webpack configs are built.
reducers/index.js
now exports combined root reducer.- Client application code now lives in
~/client
instead of~/src
in order to conform to Redux standards.
- Redux store now explicitly handles HMR.
- Webpack compiler configurations are no longer merged on top of a base default configuration. This can become unwieldy and even though explicitly writing each configuration file out is more verbose, it ends up being more maintainable.
- Quiet mode has been removed (
npm run dev:quiet
).
- Support for redux-devtools in separate window with
dev:debugnw
- Thanks to mlusetti
- Upgrades react to
0.14.0-beta3
- Upgrades react to
0.14.0-beta3
- Upgrades redux to
^2.0.0
- Upgrades redux-devtools to
^2.0.0
- Upgrades react-redux to
^2.0.0
- Configuration file name trimming on Windows machines
- Thanks to nuragic
- Fixes potential spacing issues when Webpack tries to load a config file.
- Upgrades koa to
1.0.0
- Upgrades react-redux to
1.0.0
- Upgrades object-assign to
0.4.0
- Restructures src directory so filenames are more identifiable.
- Removes action-creators alias as it's unlikely to be used.
- Cleans up/removes example code per dvdzkwsk/react-redux-starter-kit#20
- dvdzkwsk/react-redux-starter-kit#19
- Invalid initialStates from server-side router will now yield to the next middleware.
- Bumps Redux version to first major release.
- Bumps Redux-devtools version to first major release.
- Fixes broken hot-reload in
:debug
mode.- Temporarily fixed by moving
redux-devtools
into the vendor bundle.
- Temporarily fixed by moving
- Weakens various eslint rules that were too opinionated.
- notable:
one-var
andkey-spacing
.
- notable:
Thanks to StevenLangbroek for the following:
- Adds alias
utils
to reference~/src/utils
- Adds
createConstants
utility. - Adds
createReducer
utility. - Refactors
todos
reducer to use a function map rather than switch statements.
- Nested routes are now loaded correctly in react-router when using BrowserHistory.
- Bundle compilation now fails if an eslint error is encountered when running a production build.
- Thanks clearjs
- Upgrades all outdated dependencies.
- Karma, eslint, babel, sass-loader, and a handful more.