Skip to content

Releases: irvinebroque/isomorphic-hot-loader

v0.0.4

03 Feb 06:22
Compare
Choose a tag to compare
  • Adds a fetch() polypill that works in both node and in the browser
  • Adds 6to5 runtime dependency
  • Integration with CircleCI
  • Adds a list of features and to-dos, updated readme

v0.0.3

02 Feb 07:36
Compare
Choose a tag to compare
  • 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 using window.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.