-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Description
Hi,
I'm kind of new using this gem, I'm starting a Rails 4.2.5 project and when I declare a component inside a .html.erb view and add the option {prerender: true} it always throws this error:
Encountered error "ReferenceError: ReactDOMServer is not defined" when prerendering COMPONENT_NAME
I'm unsure how related is this issue with this one: #443 but trying the suggested patch stops the error, but I adds another js file in the client (I don't think it is good for performance)
According to this StackOverflow post, I'm not the only one with this issue http://stackoverflow.com/questions/35200728/react-rails-component-with-prerender-true-issue
Thanks!
Metadata
Metadata
Assignees
Labels
No labels