CSF3: Update story types
See original GitHub issueIn older versions of Component Story Format, named exports were functions. Starting in CSF 3.0, named exports can also be objects with render
functions. We need to update the typescript types accordingly.
- React
- Vue
- Vue3
- Angular
- Web components
- Svelte
- Ember
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Component Story Format 3.0 - Storybook - JS.ORG
Storybook is based on one core construct: the story. Everyone that uses Storybook writes stories for their component examples.
Read more >Define pattern for story reuse in CSF3 · Issue #15954 - GitHub
I'm sure there are other categories I haven't thought of, let's discuss and I can update the table. In any case, my conclusion...
Read more >CSF3: Update story types #15499 - Issuehunt
Hey @shilman I checked frameworks which got the proper typings from the list you set. Regarding Svelte, I don't think there are any...
Read more >CSF3 Gene - GeneCards | CSF3 Protein | CSF3 Antibody
Granulocytes are a type of white blood cell that are part of the innate immune response. A modified form of this protein is...
Read more >Colony-stimulating factors and receptors: Potential for cancer ...
Granulocyte colony-stimulating factor (G-CSF/CSF3) that binds to the ... Sponsored Content Policy: News-Medical.net publishes articles and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@benbender not at all, no worries. having a default render function is brand new in CSF3, so the “custom” render function should just look like every other story that’s been written up until now.
Hey @shilman I checked frameworks which got the proper typings from the list you set.
Regarding Svelte, I don’t think there are any types so far, even before CSF3… we have to add them. I also am wondering if anything has to be done in @storybook/addon-svelte-csf to support CSF3.
About Ember, I think type-wise is the same situation as Svelte.