linaria icon indicating copy to clipboard operation
linaria copied to clipboard

fix: use `React.JSX` instead of `JSX` for React 19 support

Open dlehmhus opened this issue 1 year ago • 1 comments

Motivation

React has removed the JSX global namespace in React 19, as a result, it needs to be accessed via the React global namespace now React.JSX.

Summary

Access JSX via React.JSX.

dlehmhus avatar Aug 01 '24 08:08 dlehmhus

🦋 Changeset detected

Latest commit: ed1c539f9e073ae345153a5f4fab403011c655d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@linaria/react Patch
@linaria/atomic Patch
linaria Patch
@linaria/testkit Patch
linaria-website Patch
esbuild-example Patch
rollup-example Patch
vite-example Patch
webpack5-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Aug 01 '24 08:08 changeset-bot[bot]