DEV Community

Discussion on: Toggle button state with React and vanilla javascript

Collapse
 
katnel20 profile image
Katie Nelson

There is a problem in your app.js file.
The line:

React.createElement(LikeButton),

should be:

React.createElement(SimpleButton),

Otherwise, it works great. Thanks for the submit.

Collapse
 
sensorario profile image
Simone Gentili

Just fixed! Thank you so much for the reporting!!!