react-blurhash icon indicating copy to clipboard operation
react-blurhash copied to clipboard

Add support for React 19

Open Kaishiyoku opened this issue 1 year ago • 2 comments

react-blurhash breaks when using React 19 with BlurhashCanvas:

node_modules/react-blurhash/dist/index.d.ts:22:15 - error TS2503: Cannot find namespace 'JSX'.

22     render(): JSX.Element;
                 ~~~

node_modules/react-blurhash/dist/index.d.ts:40:15 - error TS2503: Cannot find namespace 'JSX'.

40     render(): JSX.Element;
                 ~~~


Found 2 errors in the same file, starting at: node_modules/react-blurhash/dist/index.d.ts:22

Kaishiyoku avatar Dec 26 '24 11:12 Kaishiyoku

Hey @nygardk, @Thisen, @muescha or @chentsulin could you please add the support for React 19? Would be great to get a new version (0.4.0?) with all the others dependencies updated too. Thank you for your work!

BearCooder avatar Feb 04 '25 21:02 BearCooder

This package has over 100k downloads per month

BearCooder avatar Feb 04 '25 21:02 BearCooder