Skip to content

Commit 8169723

Browse files
Fix misleading comment in exec_js_renderer
As of 41721c5, `exec_js_renderer` now needs `ReactRailsUJS` to appear in the global context, not `ReactDOM`.
1 parent 10647a2 commit 8169723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/server_rendering/exec_js_renderer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module React
22
module ServerRendering
33
# A bare-bones renderer for React.js + Exec.js
4-
# - Depends on global ReactDOMServer in the ExecJS context
4+
# - Depends on global ReactRailsUJS in the ExecJS context
55
# - No Rails dependency
66
# - No browser concerns
77
class ExecJSRenderer

0 commit comments

Comments
 (0)