File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 88
99#### Bug Fixes
1010
11+ ## 2.0.0 (April 13, 2017)
12+
13+ #### Breaking Changes
14+
15+ - Server rendering loads ` server_rendering.js ` by default #471 . Upgrade by adding a new file which requires the previous defaults:
16+
17+ ``` js
18+ // app/assets/javascripts/server_rendering.js
19+ // = require react-server
20+ // = require components
21+ ```
22+
23+
24+ #### New Features
25+
26+ - Webpacker support:
27+ - ` react_component ` can find components via ` require.context ` + ` ReactRailsUJS.useContext ` #678
28+ - Server rendering detects Webpacker and uses packs #683 , #687
29+ - ` ReactRailsUJS ` is available from ` npm ` with ` yarn add react_ujs ` or ` npm install react_ujs ` #678
30+ - ` per_request_react_rails_prerenderer ` Allows you to check out a renderer for the _ whole request_ instead of once-per-` react_component ` #559
31+
32+ #### Bug Fixes
33+
34+ - Improved watching of server-rendering JS files #687
35+ - Fix console replay:
36+ - Put the ` <script> ` tag outside the React.js container to avoid React warnings #691
37+ - Clear console history between renders #692
38+ - Use better Turbolinks events #690
39+
1140## 1.11.0 (April 4, 2017)
1241
1342#### New Features
You can’t perform that action at this time.
0 commit comments