DO NOT RUN
rails sand instead run
foreman start -f Procfile.dev
- The default for rendering right now is
prerender: false. NOTE: Server side rendering does not work for some components that use an async setup for server rendering. You can configure the default for prerender in your config.
- You can expose either a React component or a function that returns a React component. If you wish to create a React component via a function, rather than simply props, then you need to set the property "generator" on that helper invocation to true (or change the defaults). When that is done, the function is invoked with a single parameter of "props", and that function should return a React element.
- Be sure you can first render your react component client only before you try to debug server rendering!