Skip to content

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

@avkozlov4 avkozlov4 requested a review from felixb-wix March 29, 2020 20:21
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.

2 participants