-
Notifications
You must be signed in to change notification settings - Fork 17
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
Count in the Knobs tab is "behind by one" when clicking through stories #21
Comments
FYI, we’ve released Please upgrade and try them out today! |
@shilman I tried out addon-controls today and TBH I don't really like it. They make the story code really verbose and stretched out, and now the args definitions are far removed from the place where the component is being rendered. It's also kind of awkward to have to suppress props from appearing (opt-out) rather than purposefully adding knobs (opt-in). Default values for the controls are also awkward; in fact, I can't figure out how to do it, even after reading all the docs. I think I'll be sticking with knobs since the resulting story code is much easier to read, understand, and maintain. |
@kaiyoma we're aiming to deprecate knobs in 6.2 and remove them in 7.0 |
I think that's really unfortunate because the knobs API is far superior to controls, at least right now. I would actually consider staying on Storybook 6 indefinitely to avoid moving to controls. |
Describe the bug
When clicking through stories, the count (of knobs) in the Knobs tab is wrong. More specifically, it's always "behind by one", meaning that it's showing the count from the previous story that was selected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The knob count should be correct.
System
The text was updated successfully, but these errors were encountered: