Skip to content
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

Fix JSX now namespaced (preact-X) #158

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Fix JSX now namespaced (preact-X) #158

merged 1 commit into from
Oct 17, 2019

Conversation

pmkroeker
Copy link
Contributor

As of preact X, JSX is now namespaced under preact. Updated the typings to reflect this change.

As of preact X, JSX is now namespaced under preact. Updated the typings to reflect this change.
@developit
Copy link
Owner

developit commented Jun 3, 2019

@pmkroeker any idea if this breaks Preact 8 compatibility?

@developit developit self-requested a review June 3, 2019 19:34
@pmkroeker
Copy link
Contributor Author

pmkroeker commented Jun 3, 2019

Unfortunately it does. Building with Preact 8 gives a preact has no exported member 'JSX' error.

@developit
Copy link
Owner

Update: we published Preact 8.5.2, which brings Preact 8's typings in line with those in X, so this change should be safe now.

@38elements
Copy link
Contributor

@developit
Would you please merge this pull request and publish new version?

@developit developit merged commit 3e75f4d into developit:master Oct 17, 2019
@pmkroeker pmkroeker deleted the patch-1 branch October 17, 2019 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants