Skip to content

Vite 8.0.0 compatibility #912

@SheldonWBM

Description

@SheldonWBM

Migrating from Vite ^7.3.1 to ^8.0.0
React ^19.2.14.
Vite 8.0.0 uses Rust-based rolldown bundler instead of rollup and Oxc instead of SWF or Babel.

'material-table-core' for vite 8.0.0 crashes with the below browser console error.

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `myComponent`.
    React 14
    performWorkUntilDeadline scheduler.development.js:45
    require_scheduler_development scheduler.development.js:223
    require_scheduler_development client-DDBXC-Ds.js:244
    __commonJSMin chunk-olfrzTEO.js:9
    require_scheduler index.js:6
    __commonJSMin chunk-olfrzTEO.js:9
    require_react_dom_client_development React
    require_react_dom_client_development client-DDBXC-Ds.js:14375
    __commonJSMin chunk-olfrzTEO.js:9
    require_client React
    __commonJSMin chunk-olfrzTEO.js:9
    <anonymous> react-dom_client.js:2

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