React Hooks

Hook in React are features like useState and useEffect that let you keep track of state data during the execution of your web app. An example of can be found the Counter component from class. We needed the useState hook to keep a count and a function to modify it, and the useEffect hook to make a side effect -- something that happens to a piece of state data in the app which can trigger a response. An example of that in the Conter component would be the 'rollover' function that runs whenever the count reaches a certain value.

Previous Years' Discussion on the NextJS assignment