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