DEV Community

loading...

Discussion on: A Dive Into React Hooks

Collapse
marklai1998 profile image
Mark Lai

I mean your last image is wrong

the syntax should be

setValue({text: 'Earth'})