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
{{ message }}
Repository navigation
Knobs & Backgrounds addons cause React hooks render error #2
Additional context
I have verified that all hooks being used follow all rules of React hook standards. The error only occurs if these addons are registered. I verified these are the offending addons by isolating them as the only addons installed (one at a time) and with a single basic component story.
FYI, we’ve released addon-controls in Storybook 6.0. Controls are portable, auto-generated knobs that are intended to replace addon-knobs, which are slated for deprecation.
FYI, we’ve released addon-controls in Storybook 6.0. Controls are portable, auto-generated knobs that are intended to replace addon-knobs, which are slated for deprecation.
Activity
shilman commentedon Apr 5, 2021
FYI, we’ve released
addon-controlsin Storybook 6.0. Controls are portable, auto-generated knobs that are intended to replaceaddon-knobs, which are slated for deprecation.Please upgrade and try out controls today!
shellsant commentedon Apr 27, 2021
@shilman would it replace decorators too? is it the same thing? could you give an example? I did not find it in your links
shellsant commentedon Apr 27, 2021
I noticed it is happening only with
strictMode: trueonmain.js