I want to use docz to write the components documents, but when I set react alias as preact-compat, it warns me that "export 'useState' was not found in 'react'", is there any way to use preact in Docz?
Hooks are available in our next major version for Preact. The release notes have a section on how to upgrade. Note that compat has moved to core. If you run into an issue please report it over at our main repo 🙂
I want to use docz to write the components documents, but when I set react alias as preact-compat, it warns me that "export 'useState' was not found in 'react'", is there any way to use preact in Docz?