react-rails
react-rails copied to clipboard
Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
Help us help you! Have you looked for similar issues? Do you have reproduction steps? [Contributing Guide](CONTRIBUTING.md#reporting-bugs) ### Steps to reproduce (Guidelines for creating a bug report are [available here](../CONTRIBUTING.md#reporting-bugs))...
Help us help you! Have you looked for similar issues? Do you have reproduction steps? [Contributing Guide](CONTRIBUTING.md#reporting-bugs) ### Steps to reproduce 1. Added react-rails + webpacker to my Rails project...
I'm working on a very big legacy Rails app where we recently started migrating React components from the Asset Pipeline to Webpacker. We started doing this because sourcemaps weren't working...
### Summary Tweak ReadMe wording for clarity, condense list structure, and clarify instructions at various points.
### Steps to reproduce - Configure `webpacker` to use TypeScript (default setup) - Create React Functional Component and add to `slim` template ```= react_component("HelloWorld", { name: 'my name'}, { prerender:...
### Steps to reproduce - push to Heroku (compiles assets, etc..) ### Actual behavior Deploying to production breaks React. ### System configuration Webpacker: 4.x Rails: 6.0 Rect_UJS: 2.6.3 ## Snaphot...
### Summary We have run into a certificate verification error when server rendering locally with a webpack dev server running behind https. Adding `OpenSSL::SSL::VERIFY_NONE` fixes the issue. Not sure if...
### Steps to reproduce - Enable SplitChunks. - Try server-rendering a component. ### Expected behavior The component should be rendered on the page. ### Actual behavior - Rails was throwing...
I'm having trouble server-side-rendering a component directly from a package. I can load the component in the client like so: `react_component('@package/package-name.ComponentName')` But I can `require('@package/package-name').ComponentName` fine, but when trying to...
Closes #948 ### Summary Added a check to see what node version is being used in `railtie.rb`. I am not a ruby/rails dev, but after some looking this seemed like...