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

Encapsulate the store for each context on render #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

divinespear
Copy link

to allow render multiple contexts in single document.

Fixes #1

* disposeFn store is now object instead array, and key is storyContext.id/storyId.
* dispose every story except current story key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Render error when mdx have multiple stories have different component id
1 participant