React_on_rails: Server Side Rendering is not working?

Created on 24 Oct 2017  路  3Comments  路  Source: shakacode/react_on_rails

Hi,

I'm trying SSR with the hello_world_example:

  • react_on_rails 10.0.0
  • rails 5.1.4
  • mini_racer 0.1.14

When i change views/hello_world/index.html.erb to:

<%= react_component("HelloWorld", props: @hello_world_props, prerender: true) %>

and I reload the page, I see this error:

undefined local variable or methode' for ReactOnRails::ServerRenderingPool::Exec:Class`

Is this a known bug?

Thanks a lot

bug

Most helpful comment

See #963. We'll be releasing very shortly.

All 3 comments

See #963. We'll be releasing very shortly.

@justin808 This issue may be closed, I think?

Thanks @railsme!

Was this page helpful?
0 / 5 - 0 ratings