Skip to content

Conversation

@JuicyBenjamin
Copy link
Contributor

@JuicyBenjamin JuicyBenjamin commented Jan 13, 2026

  • Updated @mui/x-data-grid peer dependency from ^7.23.5 to ^8.24.0
  • Added vitest config fix for MUI X v8 ESM imports
  • All existing tests pass with the upgrade

BREAKING CHANGE: This is a major version bump as MUI X v8 includes breaking changes. See https://mui.com/x/migration/migration-data-grid-v7/

⚠️ Known Incompatibility: MUI X v8 + Remix (non-Vite)

MUI X v8 exports CSS files that are imported at runtime. Remix without Vite runs on Node.js, which cannot parse CSS imports and throws:

SyntaxError: Unexpected token '.'

Affected examples:

  • with-remix-material-ui
  • with-remix-mui

These examples have been disabled from CI testing until they migrate to Remix + Vite. A warning has been added to their READMEs.

Workaround: Migrate to Remix + Vite for full MUI X v8 support.


PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

Using @mui/x-data-grid v7

What is the new behavior?

Using @mui/x-data-grid v8 with proper CSS import handling

Notes for reviewers

MUI X v8 now exports CSS files directly. This works fine with modern bundlers (Vite, webpack, etc.) but breaks Remix examples that don't use Vite because Node.js cannot parse CSS imports at runtime.

@changeset-bot
Copy link

changeset-bot bot commented Jan 13, 2026

🦋 Changeset detected

Latest commit: e5a0d18

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@refinedev/mui Major
@refinedev/inferencer Major
@refinedev/live-previews Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JuicyBenjamin JuicyBenjamin force-pushed the feat/upgrade-mui-x-data-grid-v8 branch from 5e504da to 79f10bd Compare January 13, 2026 15:07
- Updated @mui/x-data-grid peer dependency from ^7.23.5 to ^8.24.0
- Added vitest config fix for MUI X v8 ESM imports
- Updated all examples to use @mui/x-data-grid v8
- All existing tests pass with the upgrade

BREAKING CHANGE: This is a major version bump as MUI X v8 includes
breaking changes. See https://mui.com/x/migration/migration-data-grid-v7/
@JuicyBenjamin JuicyBenjamin force-pushed the feat/upgrade-mui-x-data-grid-v8 branch from 79f10bd to b42b358 Compare January 13, 2026 15:23
@JuicyBenjamin JuicyBenjamin marked this pull request as ready for review January 13, 2026 15:40
@JuicyBenjamin JuicyBenjamin requested a review from a team as a code owner January 13, 2026 15:40
@JuicyBenjamin JuicyBenjamin marked this pull request as draft January 13, 2026 18:45
@JuicyBenjamin JuicyBenjamin marked this pull request as ready for review January 13, 2026 19:32
@JuicyBenjamin JuicyBenjamin force-pushed the feat/upgrade-mui-x-data-grid-v8 branch from 52809dd to 628a665 Compare January 13, 2026 22:22
…ility

MUI X v8 exports CSS files that Node.js cannot parse. Remix without Vite
runs on Node.js, causing 'SyntaxError: Unexpected token' errors.

- Added regex to ignore with-remix-material-ui and with-remix-mui from CI
- Added README warnings to affected examples
- Examples can be re-enabled once they migrate to Remix + Vite
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