Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Compatibility with storybook 7 #15

Merged
merged 1 commit into from
Apr 15, 2023
Merged

Conversation

freddyamarante
Copy link
Collaborator

Hooks useEffect and useGlobals now imported from @storybook/preview-api

The useEffect hook is now watching isInDocs and the context.id, it should be able to make sure when the selector changes on each Storybook tab.

@freddyamarante freddyamarante changed the title Compatibility with storyblook 7 Compatibility with storybook 7 Apr 15, 2023
@renatomoor
Copy link
Owner

@freddyamarante Thanks a lot!

@renatomoor renatomoor merged commit 337251a into renatomoor:main Apr 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants