This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ⚠️ This is NOT the React Hooks API | |
const key = Symbol(); | |
function Form() { | |
// ... | |
const name = useFormInput(key, "name"); | |
const surname = useFormInput(key, "surname"); | |
// ... | |
return ( |
OlderNewer