Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rwr-alt

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rwr-alt

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

rwr-alt

Build Status

Alt.js integration plugin for react_webpack_rails.

This integration makes it possible to populate and share Alt stores between react component located in different part of rails views.

Setup

  • Add rwr-alt to your Gemfile:
gem 'rwr-alt'
  • Install rwr-alt package:
$ npm install --save rwr-alt

Usage

In chosen view, before components are rendered, add:

<%= alt_store('exampleStoreName', foo: @bar) %>

Then connect to store state in components like you usually do in alt .

Contributing

Issues

Found a bug in rwr-alt? Open an issue on GitHub Issues.

Pull requests

Interested in contributing to rwr-alt? That's great, and thank you for your interest!

After checking out the repo, run bundle exec rake setup:all to install every environment dependencies.

To get your contributions accepted, make sure:

  • All the tests pass. Run bundle exec rake test:all.
  • Any new code paths you've added are covered by tests.
  • Describe your changes in pull request (what it adds, how to migrate from previous version etc.)

License

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

FAQs

Package last updated on 21 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc