diff --git a/README.md b/README.md index 018b499c3..2d631e599 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ Seem overwhelming? It's time to talk with a front-end dev on the Pivotal team on } }); - React.render(, document.getElementById('root')); + ReactDOM.render(, document.getElementById('root')); ``` HTML diff --git a/hologram/lib/jsx_script_tag.rb b/hologram/lib/jsx_script_tag.rb index 4ca756f3c..941e5a948 100644 --- a/hologram/lib/jsx_script_tag.rb +++ b/hologram/lib/jsx_script_tag.rb @@ -10,7 +10,7 @@ def self.build_script_tag(div_id, code, opts={})