react-on-rails
Advanced tools
Changelog
[5.2.0] - 2016-04-08
Changelog
[5.1.0] - 2016-04-03
All 5.1.0 changes can be found in #362 by justin808.
Changelog
[5.0.0] - 2016-04-01
railsContext
, an object which gets passed always as the second parameter to both react component and redux store generator functions, both for server and client rendering. This provides data like the current locale, the pathname, etc. The data values are customizable by a new configuration called rendering_extension
where you can create a module with a method called rendering_extension
. This allows you to add additional values to the Rails Context. Implement one static method called custom_context(view_context)
and return a Hash. See #345 by justin808html_options
to react_component.props
for view helper react_component
. See this commit for an example migration used for www.reactrails.com.