No commit activity in last 3 years
No release in over 3 years
I'm a lazy guy, so yeah, I create this gem to simplify the installation of redux and react-redux
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
>= 4.2
~> 10.0

Runtime

>= 4.2
 Project Readme

zreact-redux-rails

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.

Installation

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

Usage

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

Versioning

First 3 number of zreact-redux-rails version is the version of redux.

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.