Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite stories to CSF3 format #91

Closed
certainlyakey opened this issue Apr 20, 2023 · 0 comments · Fixed by #151
Closed

Rewrite stories to CSF3 format #91

certainlyakey opened this issue Apr 20, 2023 · 0 comments · Fixed by #151
Labels
enhancement New feature or request

Comments

@certainlyakey
Copy link
Contributor

Summary

In Storybook 7.0 the new default stories format is CSF3. In preparation for upgrading to that version we could rewrite all the stories in CSF3 format because it is already supported at least starting from 6.4.

This could help with the whole effort of upgrading to 7.0 somewhere in future.

What alternatives have you tried?

No response

Does this feature request involve any updates to the reference design?

No

Implementation details

We could also use this trick to decrease amount of custom templates provided to stories and instead rely on automatic template generation by Storybook itself, while keeping the advantage of being able to play with projected content as a Storybook control. The trick would apparently work with CSF2 format too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant