-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Help with addon-actions decorate #3705
Comments
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 30 days. Thanks! |
I'm seeing the same thing here- is the documentation up to date? I don't see 'decorate' as an available import from addon-actions. |
The 3.4 release is here - https://github.com/storybooks/storybook/tree/release/3.4 |
Perfect! Thanks. |
The documentation on
decorate
(fromaddon-actions
) is not clear to me.The following line blows up with a
TypeError: Object(...) is not a function
error.To elaborate on how the API of
decorate
is confusing to me, I don't understand the purpose of requiring an array of functions instead of just one function. My understanding is that the function is supposed to map the action arguments to whatever you want. And ... you can provide multiple such functions that are applied in succession to each others' output? Apologies if my caffeine dearth is making me slow-witted.The text was updated successfully, but these errors were encountered: