aidenybai / million

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

Components return [Object Object] after installing MIllion.js on Gatsby #949

Closed alex-samera closed 7 months ago

alex-samera commented 8 months ago

What version of million are you using?

3.0.2

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

No

What package manager are you using?

Yarn

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

Hi there, I'm having problems installing Million.js on my Gatsby project. When I install it and add the relevant code to my gatsby-node.js file, the project builds fine and I can see all of the relevant Millionjs savings in my terminal, but all of my components now only return '[object Object] from my queries, and there is no error given as to why this is happening. Any help would be greatly appreciated. I have attached a screenshot for reference. Thanks.

What's the expected result?

Components get rendered correctly.

Link to Minimal Reproducible Example

https://stackblitz.com/~/github.com/alex-samera/SameraGlobalLatest

Participation

github-actions[bot] commented 8 months ago

Thanks for opening this issue! A maintainer will review it soon.

github-actions[bot] commented 7 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.