Does Enonic support React Hook?

Enonic version: 7.9.0
OS: windows 10 Enterprise

I was using Class component inside Enonic with React4xp, and know I want to switch to React Hooks based on features it has. but when i want to use the Hooks features it get an Error.
I also try on clientside and serverside rendering but in both it get error.

It is possible to use React Hooks with React4xp?