- Fix Server Rendering for Rails 3.2 #487
- UJS can mount and unmount a component by ID (not only the component's children) #466
- Support Turbolinks 5 #475
- Support nested arrays with
camelize_props#480 - Improve Sprockets 3 compatibility #453
- Fix install-generator
requirespacing #476
- Individual add-ons can be included in a bundle with sprockets require directives. #457
- Support
sprockets-rails3 #430 - Update to React 0.14.6
- Fix install generator when
//= requires are malformed #463 - Use
before_actionif available #456 - Add CHANGELOG to gem bundle #471
- Use
window.attachEventto support IE8 without jQuery 😬#446
- Update to React 0.14.3 #412
config.react.camelize_props = truewill camelizereact_componentprop keys #409
- Fix chained
.es6file names with JSX processor #411 - Don't insert
// =requires multiple times #398
- Component generator
--coffeeoption #387 - Support Sprockets 4 with a JSX processor #385
- Support custom attributes when rendering from controller #384
- Minify & optimize the production build of React.js #380
- Include React.js 0.14
- Also support React 0.14 in
unmountComponents#372 - Use a fallback view helper in case a Rails controller wasn't used #375
- The UJS can mount and unmount components within a given DOM node #358
- Support dropped-in React 0.14 in UJS #366
- Use controller lifecycle hooks for view helper (tests don't run middlewares) #356
- Render components directly from the controller with
render component: ...#329 - Provide a custom view helper with
config.react.view_helper_implementation#346
- Allow
react-railsconfigs to be set in initializers #347
- Support
--es6option in component generator #332 - Support Sprockets 3 #322
- Don't bother unmounting components
onBeforeUnload#318 - Include
React::Rails::VERSIONin the gem #335
-
Changed server rendering configuration names #253
Old New config.react.timeoutconfig.react.server_renderer_timeoutconfig.react.max_renderersconfig.react.server_renderer_pool_sizeconfig.react.react_jsconfig.react.server_renderer_options[:files]config.react.component_filenamesconfig.react.server_renderer_options[:files]config.react.replay_consoleconfig.react.server_renderer_options[:replay_console](none) config.react.server_renderer -
JSX is transformed by Babel, not JSTransform #295
- Allow custom renderers for server rendering #253
- Server render with
renderToStaticMarkupviaprerender: :static#253 - Accept
config.react.jsx_transform_options = {asset_path: "path/to/JSXTransformer.js"}#273 - Added
BabelTransformerfor transforming JSX #295 - Added
ExecJSRendererto server rendering tools - Accept
config.react.jsx_transformer_class#302
JSXTransformerwon't be updated
- Fix gem versions in tests #270
- Expire the Sprockets cache if you change React.js builds #257
- Instead of copying builds into local directires, add different React.js builds to the asset pipeline #254
- Camelize attribute names in the component generator #262
- Add
tiltdependency #248 - Default prerender pool size to 1 #302
- Vendor versions of React.js with
config.variant,config.addonsand//= require react - Component generator
- View helper and UJS for mounting components
- Server rendering with
prerender: true - Transform
.jsxin the asset pipeline