CHANGELOG.md in react_on_rails-9.0.0.beta.5 vs CHANGELOG.md in react_on_rails-9.0.0.beta.6
- old
+ new
@@ -6,10 +6,13 @@
## [Unreleased]
Changes since last non-beta release.
*Please add entries here for your pull requests.*
+- Fix regression where `react_component(... prerender: true)` wouldn't find the generated asset bundle, because it wasn't looking for the hashed path.
+
+
## 9.0 from 8.x. Upgrade Instructions
All 9.0.0 beta versions can be viewed in [PR 908](https://github.com/shakacode/react_on_rails/pull/908)
- Update the gemfile. Switch over to using Webpacker on the ShakaCode branch:
@@ -30,21 +33,21 @@
dev_server:
host: localhost
port: 8080
https: false
# Can be enabled by export WEBPACKER_HMR=TRUE in env
- hot: false
+ hmr: false
```
- See the example `spec/dummy/config/webpacker.yml`.
- Remove keys `hot_reloading_host` and `hot_reloading_enabled_by_default`. These are replaced by the `dev_server` key.
- Rename `webpack_public_output_dir` to `public_output_path`.
- Edit your Procfile.dev
- For static loading, either:
- Comment out or remove the dev_server area of your config.
- Edit your static procfile to set env value WEBPACKER_DEV_SERVER=FALSE
- For hot loading, either:
- - Set the hot key in your `webpacker.yml` to `true`.
+ - Set the `hmr` key in your `webpacker.yml` to `true`.
- Edit your hot procfile to set env value WEBPACKER_HMR=TRUE
#### Troubleshooting
If you want to skip using the dev server (as is current for beta.3 and below), then be sure to either