Skip to content
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

api: adding useSharedState, useStoryState #9566

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

atanasster
Copy link
Member

Issue:

What I did

  • isolated useSharedState in addition touseAddonState
  • created new useStoryState that uses the story id as the key
  • added new useStoryState stories for examples/dev-kits

How to test

examples/dev-kits

@vercel
Copy link

vercel bot commented Jan 20, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/60qrdx89b
✅ Preview: https://monorepo-git-fork-atanasster-use-shareed-state.storybook.now.sh

lib/api/src/index.tsx Outdated Show resolved Hide resolved
@ndelangen
Copy link
Member

WILD 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants