Building a basic React Hooks example

added by JavaScript Kicks
11/19/2018 8:00:26 PM

1043 Views

Hooks allows us to add state to a functional component. So, use "next" in your package.json to get the latest version of it. // package.json "react": "next", "react-dom": "next" OR npm install react@next react-dom@next An example for increment/decrement value with reset button.


0 comments