We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm wondering if react-rails throws or simply logs when there's a server rendering error (JavaScript exception).
We're trying to decide on the functionality for react_on_rails: shakacode/react_on_rails#69
If we have an error when server rendering, should we:
The text was updated successfully, but these errors were encountered:
Hi @justin808,
We catch errors as they leave ExecJS, then re-raise them: https://github.com/reactjs/react-rails/blob/master/lib/react/server_rendering/exec_js_renderer.rb#L24
Feel free to try this out yourself by downloading the gem and taking it for a spin!
Sorry, something went wrong.
Thanks @rmosolgo! I should make a quick test and compare what happens.
No branches or pull requests
I'm wondering if react-rails throws or simply logs when there's a server rendering error (JavaScript exception).
We're trying to decide on the functionality for react_on_rails: shakacode/react_on_rails#69
If we have an error when server rendering, should we:
config.throw_on_server_render_error = true
The text was updated successfully, but these errors were encountered: