Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React.DOM is undefined #11

Open
pheeno opened this issue Oct 16, 2017 · 3 comments
Open

React.DOM is undefined #11

pheeno opened this issue Oct 16, 2017 · 3 comments

Comments

@pheeno
Copy link

pheeno commented Oct 16, 2017

use version 16 to build the code, but it failed in lesson ONE T_T, build 'Hello world' and then throw the error, HELP T_T

@jonotko
Copy link

jonotko commented Dec 17, 2017

Hey I don't think that code is valid anymore. Include the Dom-factories with this script

<script src="https://unpkg.com/[email protected]/index.js"></script>

Then everywhere the book uses React.DOM replace it with ReactDOMFactories

e.g

ReactDOMFactories.h1(null, "Hello World!")

Happy Coding!

@MaynardTool
Copy link

thanks, it worked!

@Rogpe-Prog
Copy link

thank, it has worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants