Comments (5)
@Clarkkkk @vanessayuenn I fixed the bug in #26303 :)
from storybook.
@chakAs3 @larsrickert @kasperpeulen any idea what's happening here?
from storybook.
The issue might be that array destructuring is used for the export. I don't thing we have tested for this use case.
@Clarkkkk Does it work when you change it to:
const context = createContext<DrawerContext>('drawer-context');
export const provide = context[0];
export const useDrawerContext = context[1];
from storybook.
The issue might be that array destructuring is used for the export. I don't thing we have tested for this use case. @Clarkkkk Does it work when you change it to:
const context = createContext<DrawerContext>('drawer-context'); export const provide = context[0]; export const useDrawerContext = context[1];
I tried it just now, and unfortunately the error remains.
from storybook.
@Clarkkkk @vanessayuenn I fixed the bug in #26303 :)
Thank you! Can confirm by patching your fix!
from storybook.
Related Issues (20)
- [Bug]: mdx pages not loading HOT 1
- [Bug]: Story source is showing `[object Object]` instead of the component name HOT 6
- [Bug]: "Show code" doesn't show code on MDX Story HOT 1
- [Bug]: Running the upgrade migration 7.6.x to 8) gives a false error on having storyStoreV7 HOT 3
- [Bug]: Using typescript: "react-docgen-typescript" breaks source preview HOT 15
- [Bug]: Chromatic plugin warns of incorrect `storybookConfigDir` configuration HOT 1
- [Bug]: Meta type should require one of the params title/component HOT 5
- [Bug]: Degraded startup performance with storyStoreV7 HOT 10
- [Bug]: TableOfContents doesnt take custom options from .mdx Meta component HOT 4
- [Bug]: Toolbar actions on Auto Generated Docs sometimes do not update the globals as expected when using nextjs framework
- [Bug]: 8.0.0-alpha.4 broke stories that use ag-grid-react HOT 3
- [Bug]: snapshot generate on Macbook with extended display contains diffs
- [Bug]: Nx Project cannot watch and hot reload HOT 20
- [Bug]: Storybook 8 babel code generator takes forever to start up with material ui components and runs out of memory when trying to build HOT 1
- [Bug]: asset size limit warning HOT 1
- [Bug]: CSF: missing default export in file with default export
- [Bug]: 8.0.0 8.1.0-alpha2 Vite React ReferenceError in component resolution HOT 2
- [Bug]: error TS2304: Cannot find name 'step'
- Cannot init in a new project HOT 9
- [Bug]: Expand react-docgen automigration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook.