Closed
Description
Steps to reproduce
Render any react component with a Provider on the server (set prerender as true)
Expected behavior
The component should be generated from the server, then UJS should mount the client version
Actual behavior
System configuration
Sprockets or Webpacker version: No version (Latest)
React-Rails version: No Version (Latest)
Rect_UJS version: React-Rails specified.
Rails version: 5.1.4
Ruby version:2.5.0
I'm attempting to pre-render a component with a Provider, but it has issues when UJS tries to automatically mount the client version on top of it.
- My setup absolutely works outside of redux. Rendering any normal component works.
react-on-rails
is not only too far of a departure, but it's too battery included, no migration instructions, and I'd like to depend on this more official release.