-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Allow JSX pragmas (enable editing of tsconfig) #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jbucaran thanks for the kind words! And absolutely — ability to edit TSConfig/etc should be landing soon, so that should allow you to do this: microsoft/TypeScript#9582 (comment) Will circle back once we open up editing of TSConfig! 👍 |
Looks like this adding /** @jsx h */ before import is working now. So if you're getting the react is not defined please do this.
|
So currently I can add a Any status update on this issue? |
Thank you for your patience - We are launching new core technology into beta next month that should resolve this issue so this will be closed accordingly. If this issue persists, feel free to tag me or ask to reopen this issue with screenshots of the error. Thank you! :) |
@purplem1lk seems like the issue persists even after adding a custom tsconfig.json
|
Hi @EricSimons @apai4!
This project looks amazing. I tried to create a simple starter for Hyperapp, but it keeps telling me that
React
is not defined.I tried using the JSX pragma like this:
/** @jsx h */
, but it made no difference.See: https://hyperapp.stackblitz.io
The text was updated successfully, but these errors were encountered: