react_on_rails
react_on_rails copied to clipboard
Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
# Motivation Because server rendering often uses `react_component_hash` to get the meta tags for SEO, we can't just flip a switch and turn off server rendering to debug the code...
This was going to go into v12, but will get pushed out to a future version due to this issue: https://github.com/rails/webpacker/issues/2640 Until this is done, it's too much work to...
React on Rails will first use a hashed server-bundle that's listed in the manifest. If that happens and split chunks is turned on, the error message when the server-bundle is...
Hi React on Rails Community, Yak shaving some issues regarding [React on Rails](https://github.com/shakacode/react_on_rails), [react-rails,](https://github.com/reactjs/react-rails), or [rails/webpacker](https://github.com/rails/webpacker) I'm inviting you to schedule a complimentary call to talk about your **yak shave**...
It is important to note that the server-bundle.js **should not be hashed** if one has multiple config files and, thus, the server bundle cannot be produced by the webpack-dev-server. Here...
The `config.build_production_command` should have been named the `config.build_precompile_command` as this runs any time precompile is run. So if the precompile command is building production ENV assets, then that will be...
Code for server rendering a react component does nothing with the redirectLocation. The problem is that the redirect location cannot be used once we're in the rendering from the controller....
React on Rails Pro will soon be supporting [AMP](https://www.ampproject.org/). If you're interested in AMP with React on Rails, please get in touch with [[email protected]](mailto:[email protected]). Some details of what's needed can...
Signup to keep in touch with Justin Gordon and ShakaCode. I intend to send a monthly summary including announcements of new releases of React on Rails and of our latest...
- [ ] For parity with JSBundling, the installer script should create a simple shell script at `./bin/dev` with this contents: ``` #!/usr/bin/env bash if ! command -v foreman &>...