Skip to content

Inclusion of react-addons-linked-state-mixin in package.json breaks compilation #82

@krassowski

Description

@krassowski

When "@rjsf/core": "5.18.3" or newer is installed the compilation on jupyterlab/jupyterlab_apod#20 fails:

node_modules/@rjsf/core/lib/components/Form.d.ts:292:76 - error TS2694: Namespace '"/node_modules/@types/react/jsx-runtime"' has no exported member 'JSX'.

292     renderErrors(registry: Registry<T, S, F>): import("react/jsx-runtime").JSX.Element | null;
                                                                               ~~~

node_modules/@rjsf/core/lib/components/Form.d.ts:367:43 - error TS2694: Namespace '"/node_modules/@types/react/jsx-runtime"' has no exported member 'JSX'.

367     render(): import("react/jsx-runtime").JSX.Element;
                                              ~~~

downgrading to 5.18.2 fixes the issue.

react-addons-linked-state-mixin was added in #38. Why is it needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions