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

$EDIX-4591: return unsubscribe method #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

avkozlov4
Copy link

@avkozlov4 avkozlov4 commented Mar 29, 2020

Unsubscription will be implemented for this case: https://github.com/wix-private/responsive-editor-packages/blob/master/packages/editor-package-breakpoints/src/BreakpointsAPI/BreakpointsApi.tsx#L67
Something like subscribeOnSiteUpdateOnce will be created in PreviewAPI in next the PR.
This can be useful when you need to make a reaction once.

Alternative that may be preferable: https://github.com/wix-private/responsive-editor-packages/commit/f90df004d2bf072d7f94fe00e27b6ff8a954ceb9

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.

1 participant