Skip to content

Releases: milankinen/livereactload

3.5.0

11 Apr 18:36
73f5ea8
Compare
Choose a tag to compare
  • Relaxed dependency resolution: allowed dependencies with same major version (#166 by @vicapow)

3.4.0

03 Dec 21:24
4bd3a67
Compare
Choose a tag to compare
  • Updated ws dependency (thanks @oncletom)
  • Updated some other dependencies as well
  • Added ´--moduledir` option

4.0.0-beta.2

20 Apr 21:05
Compare
Choose a tag to compare
4.0.0-beta.2 Pre-release
Pre-release
  • Fix non-standard (ES5) template literal from custom module loader #155 #156 (thanks @EugeneZ)

4.0.0-beta.1

26 Mar 21:51
Compare
Choose a tag to compare
4.0.0-beta.1 Pre-release
Pre-release

This is the first beta version of 4.x series (many thanks to @EugeneZ who's the author of these changes)

Starting from 4.0.0-beta.1, LiveReactload will be using react-hot-loader as its hot reloading component. This approach allows us to keep up with the newest work of react-hot-loader community, providing better developer experience to you Browserify users. From now on, react-hot-loader bug fixes and middleware (such as e.g. react-redbox) can be used with LiveReactload just like they can be used with Webpack HMR.

In order to migrate your 3.x LiveReactload application to the new version, you must apply the following steps:

  1. Remove react-proxy and babel-plugin-react-transform dependencies from package.json using npm uninstall or yarn remove
  2. Use npm install or yarn add to get the latest livereactload and react-hot-loader packages.
  3. Replace the react-transform section of your Babel config with react-hot-loader/babel. See installation instructions for how the config should look now. (It's must simpler.)
  4. Add import { AppContainer} from 'react-hot-loader' to the file where you render your root component, and then wrap your root component in this container. ReactDOM.render(<App/>, ...) becomes
    ReactDOM.render(<AppContainer><App></AppContainer>, ...).
  5. If you were using module.onReload it must be replaced with module.hot.onUpdate. This isn't simply a rename, this hook works differently now. Despite this, if you were following the commonly used patterns for this hook in the LiveReactload examples, simply renaming it should work just fine.

The full documentation and examples of the new version are available here.

3.3.0

12 Mar 12:40
Compare
Choose a tag to compare
  • Fix WebSocket client port bug when connecting to port 80 #149 (thanks @kdonovan!)
  • Replace reloaded js module's revision number with base64 encoded CRC hash in order to prevent (incorrect) breakpoint caching #147 #152 (thanks @EugeneZ!)
  • Update Redux example #151 #150 (thanks @pixelass!)

3.2.0

05 Jan 14:47
Compare
Choose a tag to compare
  • Add --no-babel option to disable "Could not detect LiveReactLoad transform..." warning with non-babel transpilers #144 #145 (thanks @pizza2code!)

3.1.2

03 Jan 19:26
Compare
Choose a tag to compare
  • Make sourcemap path cleaner by using revision number instead of hash in paths #141 #143 (thanks @pizza2code!)
  • Prevent scoping issues by constructing reloaded module loader with Function
  • Update dependencies to their latest versions
  • Fix broken example dependencies #139

3.1.1

25 Nov 13:22
Compare
Choose a tag to compare

3.1.0

20 Oct 15:23
Compare
Choose a tag to compare

3.0.1

02 Oct 15:52
Compare
Choose a tag to compare