Keep reporting an error about the unavailability of react hooks

if I want to learn react hooks, I write it with the first official column, but I can"t run it.
I have installed the version "react": "^ 16.7.0-alpha.0" . The official website example is:

   
ask the Great God to solve

Jan.18,2022

react-dom is also updated to this version?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bec6f9-31b1b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bec6f9-31b1b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?