You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@renderer.render("TodoListWithConsoleLog",{todos: ["log some messages"]},nil)puts@renderer.render("TodoListWithConsoleLog",{todos: ["log some messages"]},nil)
My app doesn't crash, but I'm getting unexpected behavior. So, I've described the unexpected behavior and suggested a new behavior.
console.history
is not cleared when used with prerender method usingtherubyracer
runtime.Here is an example extracted from the sprockets_renderer_test
will result to
The rubyracer
v8_context
deep inside is the same during multipleeval
s, and so is other stuff user might stored inglobal
.This is not happened in the default execjs runtime given that it shell out every time
eval
invoked.Test environment
react-rails
: mastertherubyracer
: 0.12.2The text was updated successfully, but these errors were encountered: