#What should I do to support remix streaming with mui?

1 messages · Page 1 of 1 (latest)

jagged zephyr
#
GitHub

MUI Core: Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design. - material-ui/examples/material-remix-ts at master · ...

north hatch
#

I haven't had much luck with it, tbh. I think it's a limitation of how Emotion works. It's been painful enough that I'm seriously considering moving entirely over to @mui/base + tailwind

jagged zephyr
tardy socket
#

Hi guys! Is there any update for that matter? I also cant make it work

#

such a game changer

jagged zephyr
obsidian girder
#

Yes, this is working for me. I'm using MUI/emotion with React18 streaming. It was a bit cumbersome to hook up but it's working fine.

stoic cape
#

@obsidian girder Mind sharing your example of adapting the above for MUI? I still get hydration errors.

#

I think I actually got it working; seems it complained about my dark reader a lot

stoic cape
#

Seems theme context is lost upon hitting an error boundary unfortunately, still figuring that one out.

obsidian girder
#

Are you sure your hydration errors are due to MUI/emotion? They can happen for many other reasons (extensions like Grammarly for example in your browser). Though I got mine to work, I still get occasional hydration errors on some pages but they're not due to MUI/emotion...

stoic cape
#

They were I believe due to emotion but I did get that figured out. I still struggled with error boundaries losing theme context from the application and could not find a solution for that though