changelogs.md


renchap/webpacker-react

Repository  -  API  -  Source

1.0.0-beta.1

Added

  • Instructions to set up react-hot-loader 4 (fixed #51)

Updated

  • Instructions for setting up webpacker-react with a modern Webpacker version

Changed

  • Tests now uses headless chrome instead of Poltergeist
  • Babel is configured with babel-preset-env

Removed

  • Support for react-hot-loader. Please look at the README for instructions on how to use react-hot-loader 4 with your app, it is much simpler and better!

0.3.2

September 13, 2017

Fixed

  • The whole lodash library was imported, resulting in a big bundle. Specific lodash functionsimports are now used.
  • Helpers are now loaded on ActionView loading (fixes #38)

0.3.1

May 30, 2017

Fixed

  • Move test Rake tasks out of lib/tasks (fixes #33)

0.3.0

May 27, 2017

Added

  • Webpacker 1.2 and 2.0 support
  • Added a tag option to change the tag used to render the component (default is div)

0.2.0

March 20, 2017

Added

  • support for Turbolinks 5, Turbolinks 2.4 and PJAX. Components will be mounted and unmounted when Turbolinks-specific events occur. Also, the integration works with Turbolinks 5 cache.
  • New WebpackerReact.setup({Component1, Component2, ...}) initialization API. The old API couldn't properly detect the components' names, thus user is required to provide the names in the configuration object's keys.

    Removed

  • WebpackerReact.register(Component) has been dropped in favor of WebpackerReact.setup({Component})

0.1.0

February 23, 2017

Added

  • First released version
  • render React components from views using the react_component helper
  • render React components from controllers using render react_component: 'name' (#1 by @daninfpj)
  • basic Hot Module Remplacement (#7 by @mfazekas)