Skip to content

Conversation

maruyamaworks
Copy link

Hi @alexkatz, thank you very much for your great work!
I have created this PR to make this library compatible with React 19!

In React 19, the global JSX namespace has been removed, so JSX.Element cannot be resolved and is treated as any. In this PR, an import statement is added so that JSX.Element is correctly referenced.

Also, the useRef now requires an argument in React 19, so I explicitly added undefined to the useRef().

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.

1 participant