apollographql / apollographql/apollo-client-integrations
registerApolloClient is not a function when using RSC's with Storybook
- Dominant language
- TypeScript
- Stars
- 556
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to upgrade from v0.5.* to latest, and noticed when I upgrade this package my storybook starts to have issues bundling things correctly. Anyone have any ideas how to fix this? The docs on using RSC's with storybook are here: https://storybook.js.org/blog/storybook-react-server-components/
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the upgrade from v0.5.* using the Storybook React Server Components setup linked in the issue, then trace the registerApolloClient entry point during bundling. Done means the Storybook build resolves registerApolloClient as a function without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, react, storybook, typescript
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100