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
Copy file name to clipboardExpand all lines: react/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Start by adding frontmatter `interactive:true` to any Markdown file that you wan
16
16
17
17
1. Create the component in the `./react` directory
18
18
2. Register the component for webpack in `./javascripts/index.js` so the component works with client side rendering
19
-
3. Register the component in `./lib/react-engine.js` so the component works with server side rendering
19
+
3. Register the component in `./lib/react/engine.js` so the component works with server side rendering
20
20
4. If the component needs to be evaluated client side, see [this example](https://github.com/github/docs/blob/a48998c7890b71c8f58eda1fa31b50df348a0042/react/CodeEditor.js) for how to ensure the client side component rendered by the server gets [Hydrated](https://reactjs.org/docs/react-dom.html#hydrate).
0 commit comments