Skip to content

0.2.0

Compare
Choose a tag to compare
@renchap renchap released this 20 Mar 20:39
· 30 commits to master since this release

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.