aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
16.18k stars 567 forks source link

NextJs RSC data disapears when using million #540

Closed m10rten closed 10 months ago

m10rten commented 1 year ago

What version of million are you using?

2.5.13

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

PNPM

What operating system are you using?

Win

What browser are you using?

Chrome

Describe the Bug

With NextJS and an array of components, the data showed as: $: 'data' data was the array with stuff in it, now it turns into a string.

nextjs throws and the data is not in my RSC client component.

Uppon removing million from the next.config.mjs, everything worked (yes i tried restarting the server before that)

What's the expected result?

to give me the data in the client component.

Link to Minimal Reproducible Example

no link, local.

Participation

aidenybai commented 1 year ago

Can you give a reproduction? Ideally in a stackblitz or GitHub repo so we can triage and fix the issue

tobySolutions commented 1 year ago

Any updates @m10rten?

m10rten commented 1 year ago

Any updates @m10rten?

Went on using without million, maybe in the near future I will retry it.

rishi-raj-jain commented 11 months ago

I think we shall close this issue as it doesn't provide the minimal reproduction.

Drex72 commented 11 months ago

@tobySolutions Please close this issue until there is a minimal reproduction available

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.

tobySolutions commented 10 months ago

Closing this for now. Thanks @rishi-raj-jain, @Drex72, @SukkaW