I firstly created this gem for my own usage. However, when I pushed this gem, another gem with the same name, but seemed quite old appeared. I decided to make another gem for up-to-date components.
Add this line to your application's Gemfile:
gem 'zreact-redux-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zreact-redux-rails
Simply add below lines to your application.js
on your behalf:
//= require redux
//= require react-redux
// Optional: For those who want to use redux-thunk and fetch
//= require redux-thunk
//= require fetch
Or if you are using CoffeeScript, it's your application.js.coffee
:
#= require redux
#= require react-redux
# Optional: For those who want to use redux-thunk and fetch
#= require redux-thunk
#= require fetch
First 3 number of zreact-redux-rails
version is the version of redux
.
Bug reports and pull requests are welcome on GitHub at https://github.com/zelic91/zreact-redux-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.