Releases: irvinebroque/isomorphic-hot-loader
Releases · irvinebroque/isomorphic-hot-loader
v0.0.4
v0.0.3
- Removes .env file (set NODE_ENV=development as CLI argument instead)
- Adds eslint config in package.json, with support for JSX and some ES6 features enabled
- Adds
.flowconfig
and weak mode flow pragma to all files for inferred type checking - Updated readme
- Adds
deviceType
prop that gets generated by parsing the user agent on the server, and usingwindow.matchMedia
on the client. (TODO: explain why this is a good idea and not totally crazy like it sounds) - Adds an
environment
prop that gets passed down by the router, to specify server vs. client, so that components can behave differently on each side. Not entirely sold that this is a great idea, but I've had to use it elsewhere as a hack, so including here in case it helps others. - Adds a preprocessor file to deal with the JSX transform and Jest.