You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently discovered these two parts of the preview API in my efforts to speed up and simplify my automatic storybook controls. I actually raised a discussion (#30082) where I suggested adding an API matching their behaviour before I had found them!
They are very powerful yet simple tools that allow users and plugin developers to provide control information without excessive boilerplate, and so I think storybook would benefit from having them documented more visibly.
I had considered a PR to add some documentation, but I couldn't even begin to work out where it would go (:
Additional context
No response
The text was updated successfully, but these errors were encountered:
It is an intentionally undocumented API. Today we use experimentalX as a naming convention for stuff like this, but we didn't back when we added those APIs. I think if we were doing it today we would've called it experimentalArgTypesEnhancers and it probably would stay experimental for a long time.
Describe the problem
I've recently discovered these two parts of the preview API in my efforts to speed up and simplify my automatic storybook controls. I actually raised a discussion (#30082) where I suggested adding an API matching their behaviour before I had found them!
They are very powerful yet simple tools that allow users and plugin developers to provide control information without excessive boilerplate, and so I think storybook would benefit from having them documented more visibly.
I had considered a PR to add some documentation, but I couldn't even begin to work out where it would go (:
Additional context
No response
The text was updated successfully, but these errors were encountered: