diff --git a/docs/additional-reading/code-splitting.md b/docs/additional-reading/code-splitting.md index 020cdf48e..7b0a44401 100644 --- a/docs/additional-reading/code-splitting.md +++ b/docs/additional-reading/code-splitting.md @@ -81,13 +81,13 @@ const RouterAppRenderer = (props, railsContext, domNodeId) => { throw error; } - const component = ( + const reactElement = ( ); - ReactDOM.render(component, document.getElementById(domNodeId)); + ReactDOM.render(reactElement, document.getElementById(domNodeId)); }); };