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
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.
@storybook/react@3.4.6
@storybook/addon-actions@3.4.6
The text was updated successfully, but these errors were encountered:
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!
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: