A button with onClick={action('onClick')}
. Two identical stories except the first is added with .add()
the second with .addWithInfo()
.
馃槃 Clicking the button several times in the add()
story. The actions are logged immediately.
馃槥 Clicking the button once in the addWithInfo()
story. The UI freezes for several seconds before the action is logged.
In all fairness, it is probably slightly faster than molasses, depending.
In v4 we will deprecate the addWithInfo
API and rename it to addWithMolasses
. 馃槶
In all seriousness, we're making a bunch of changes to the info addon (e.g. #1147) so let's see how things shake out with that. cc @UsulPro
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
Most helpful comment
In v4 we will deprecate the
addWithInfo
API and rename it toaddWithMolasses
. 馃槶In all seriousness, we're making a bunch of changes to the info addon (e.g. #1147) so let's see how things shake out with that. cc @UsulPro