# react-rails #### Breaking Changes #### New Features #### Deprecation #### Bug Fixes ## 2.0.2 (April 18, 2017) #### New Features - Support Rails 5.1 #697 #### Bug Fixes - Fix UJS unmounting by selector #696 ## 2.0.2 (April 13, 2017) #### New Features - Rerun events detection at any time with `ReactRailsUJS.detectEvents()` #693 - Make the NPM version of `react_ujs` match the Rubygem version `2.0.1` was skipped because a bad version of `react_ujs` was published to NPM. ## 2.0.0 (April 13, 2017) #### Breaking Changes - Server rendering loads `server_rendering.js` by default #471 . Upgrade by adding a new file which requires the previous defaults: ```js // app/assets/javascripts/server_rendering.js // = require react-server // = require components ``` #### New Features - Webpacker support: - `react_component` can find components via `require.context` + `ReactRailsUJS.useContext` #678 - Server rendering detects Webpacker and uses packs #683, #687 - `ReactRailsUJS` is available from `npm` with `yarn add react_ujs` or `npm install react_ujs` #678 - `per_request_react_rails_prerenderer` Allows you to check out a renderer for the _whole request_ instead of once-per-`react_component` #559 #### Bug Fixes - Improved watching of server-rendering JS files #687 - Fix console replay: - Put the `