October 2019
Intermediate to advanced
426 pages
11h 49m
English
For simple cases, such as the first and last name example that we had previously, we can just always keep the Hook defined, as follows:
const [ name, setName ] = useState('')
Always defining the Hook is usually a good solution for simple cases.
Read now
Unlock full access