Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix storybook client api removal for storybook v8 #18

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

cengizhanbasak
Copy link
Contributor

@cengizhanbasak cengizhanbasak commented Mar 20, 2024

Description

In Storybook v8 window[0].__STORYBOOK_CLIENT_API__ is removed, instead window[0].__STORYBOOK_PREVIEW__ is used now. So we are putting it as an alternative.

Checklist

  • My PR has a relevant title.
  • My PR has a clear and complete description.
  • I have performed a self-review of my own change.

@cengizhanbasak cengizhanbasak self-assigned this Mar 20, 2024
src/globalContext.ts Show resolved Hide resolved
src/globalContext.ts Outdated Show resolved Hide resolved
@cengizhanbasak cengizhanbasak force-pushed the bugfix/storybook-v8-story-store branch from cd137a5 to a7ad8c9 Compare March 20, 2024 11:39
@cengizhanbasak cengizhanbasak merged commit cca4a78 into main Mar 20, 2024
1 check passed
@cengizhanbasak cengizhanbasak deleted the bugfix/storybook-v8-story-store branch March 20, 2024 11:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants