I got an error: 'h' must be in scope when using JSX
rafi16jan opened this issue · 2 comments
rafi16jan commented
I got an error: 'h' must be in scope when using JSX
I'm manually tweaking react dependencies from a react template and got this. What should I do?
rafi16jan commented
Sorry wrong repo. I should report this to just-boris/create-preact-app because I use his dependencies.
marvinhagemeister commented
@rafi16jan Most likely the import for h
is missing. Check that there is an import for h
present:
import { h } from 'preact';