Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
react-on-rails
Advanced tools
gem "webpacker", "6.0.0.rc.6"
Any updates to get to v6 from this point forward should be simple.If you have time, please comment on Justin's final proposals for Webpacker v6: webpacker/pulls/justin808.
These are the docs for React on Rails 12. To see the version 11 docs, click here.
React on Rails integrates Rails with (server rendering of) Facebook's React front-end framework.
This project is maintained by the software consulting firm ShakaCode. We focus on Ruby on Rails applications with React front-ends, often using TypeScript or ReScript (ReasonML). We also build React Native apps and Gatsby sites. See our recent work for examples of what we do. ShakaCode.com (HiChee.com) is hiring developers that like working on open-source.
Are you interested in optimizing your webpack setup for React on Rails including code splitting with react-router and loadable-components with server-side rendering for SEO and hot-reloading for developers? We did this for Popmenu, lowering Heroku costs 20-25% while getting a 73% decrease in average response times. Check out React on Rails Pro.
For more information, feel free to contact Justin Gordon, justin@shakacode.com, maintainer of React on Rails.
See the documentation at shakacode.com/react-on-rails/docs.
To provide a high performance framework for integrating Ruby on Rails with React via the Webpacker gem, especially regarding React Server-Side Rendering for better SEO and improved performance.
Given that rails/webpacker
gem already provides basic React integration, why would you use "React on Rails"?
rails/webpacker
.See Rails/Webpacker React Integration Options for comparisons to other gems.
See the react-webpack-rails-tutorial for an example of a live implementation and code.
A deployed version of the project spec/dummy
which demonstrates several uses of react_on_rails
is available on heroku through this link
Requires creating a free account.
Ruby on Rails >=5 and rails/webpacker 4.2+.
Bug reports and pull requests are welcome. See Contributing to get started, and the list of help wanted issues.
The following companies support this open source project, and ShakaCode uses their products! Justin writes React on Rails on RubyMine. We use Scout to monitor the live performance of HiChee.com, Rails AutoScale to scale the dynos of HiChee, and HoneyBadger to monitor application errors. We love BrowserStack to solve problems with oddball browsers. Status Hero keeps the team posted on daily progress; it's so much better than live standups.
ShakaCode's favorite project tracking tool is Shortcut. If you want to try Shortcut and get 2 months free beyond the 14-day trial period, click here to use ShakaCode's referral code. We're participating in their awesome triple-sided referral program, which you can read about here. By using our referral code you'll be supporting ShakaCode and, thus, React on Rails!
Aloha and best wishes from Justin and the ShakaCode team!
ShakaCode is hiring passionate software engineers to work on our projects, including HiChee!
The gem is available as open source under the terms of the MIT License.
[12.5.0] - 2021-12-26
FAQs
react-on-rails JavaScript for react_on_rails Ruby gem
The npm package react-on-rails receives a total of 49,008 weekly downloads. As such, react-on-rails popularity was classified as popular.
We found that react-on-rails demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.