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

Move initialisation to effect and register callbacks in boot method #677

Conversation

devrnt
Copy link
Owner

@devrnt devrnt commented Jun 13, 2024

Move initialisation to an effect and register callbacks in boot method

Fixes #666

Copy link

changeset-bot bot commented Jun 13, 2024

🦋 Changeset detected

Latest commit: a6d7757

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-use-intercom Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Size Change: +51 B (+0.94%)

Total Size: 5.49 kB

Filename Size Change
packages/react-use-intercom/dist/index.js 2.85 kB +27 B (+0.96%)
packages/react-use-intercom/dist/index.mjs 2.63 kB +24 B (+0.92%)

compressed-size-action

@devrnt devrnt force-pushed the 666-calling-shutdown-one-time-lose-all-the-intercomcontext-reactivity-until-the-page-is-refreshed branch from 47f9546 to a6d7757 Compare June 13, 2024 20:26
@devrnt devrnt merged commit 118741a into main Jun 13, 2024
5 of 6 checks passed
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.

Calling shutdown one time lose all the IntercomContext reactivity until the page is refreshed
1 participant