Skip to content

Releases: renchap/webpacker-react

1.0.0-beta.1

09 Jul 16:39
174cad7
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

Pushing a pre-release version to ensure nothing broke, this will be released as 1.0.0 next week if nothing breaks!

Changes

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

12 Sep 23:34
Compare
Choose a tag to compare

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

30 May 18:27
Compare
Choose a tag to compare

Fixed

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

0.3.0

27 May 19:50
Compare
Choose a tag to compare

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

20 Mar 20:39
Compare
Choose a tag to compare

Removed

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

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.