million
are you using?3.0.5
NextJS
pnpm
Linux
Firefox
As described here, when Million renders client-side components, it creates slots to wrap such components, miss-doing all styles, and even sometimes, hiding elements:
For fixing we tried the experimental option, but it seems not to work with NextJS:
const millionConfig = {
auto: { rsc: true },
rsc: true,
experimental_options: {
noSlot: true,
},
};
It should render a single item respecting the styles given for each element.
https://stackblitz.com/edit/stackblitz-starters-bwarze?file=pages%2Fpageroot.tsx
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too