0
0
JRJose Romero
nextstatehookβ’β’β’
NextJS Javascript RecipesThe React useState Hook allows us to track state in a function component.
Library: next
Shortcut: next.hook.state.use
import { useState } from 'react';
const [value, setValue = useState(&[USER_INPUT:1:initialValue);