- Reorganize config files.
- Add UJS helpers:
getComponent
createComponent
renderComponent
- Add docs.
- Add various Readme fixes.
- Bump dependencies.
- Use rails like names.
- Simplify webpack setup.
- Make
registerComponent
helper part of ujs.
-
In
application.js
replace://= require react-integration //= require generated/bundle
with:
//= require react_integration //= require react_bundle
- Add generators for webpack configuration.
- Add helpers:
- js -
registerComponent
exposing component for rails - rails -
react_component
using component based on https://github.com/reactjs/react-rails/blob/master/lib/react/rails/view_helper.rb.
- js -
- Add integration script based on https://github.com/reactjs/react-rails/blob/master/lib/assets/javascripts/react_ujs.js.erb.