From 2e5ea27ac973b63a142634ce8fc987ff43a3d519 Mon Sep 17 00:00:00 2001 From: Joseph Tibbertsma Date: Wed, 23 Nov 2016 11:46:18 -0800 Subject: [PATCH] Minor changes to code-splitting.md --- docs/additional-reading/code-splitting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }); };