Skip to content

Add support for React 19 #48

@Kaishiyoku

Description

@Kaishiyoku

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions