react-use-intercom icon indicating copy to clipboard operation
react-use-intercom copied to clipboard

Potential replacement? @intercom/messenger-js-sdk?

Open devrnt opened this issue 1 year ago • 3 comments

I came across the @intercom/messenger-js-sdk, which appears to be an official library maintained by the Intercom team. Although it currently doesn't have a stable release, it shows promise as a potential replacement for this existing library.

Replacing react-use-intercom with the official library could offer better support and updates directly from the Intercom team.

devrnt avatar Jun 13 '24 19:06 devrnt

Thank you so much for your effort 🙌🏽

ng-hai avatar Jun 22 '24 11:06 ng-hai

I've tried both messenger-js-sdk and react-use-intercom, and I can confidently say that react-use-intercom currently works better. It seems that messenger-js-sdk isn't specifically designed for React; it's more of an all-in-one solution that doesn't fully align with React's reactivity model. So, at this moment, I think react-use-intercom is not obsolete but preferred for React, as it integrates more seamlessly.

Also, great work and thank you!

danilo-89 avatar Jul 03 '24 21:07 danilo-89

Appreciate the feedback.

In the first iteration, the idea would be to use the new SDK internally. Afterwards, we can reevaluate whether the official Intercom SDK module covers most of the use cases of this module

devrnt avatar Jul 17 '24 15:07 devrnt

Been having issue with the official SDK and discovered this.

Any downsides to consider before switching?

punkpeye avatar Feb 13 '25 07:02 punkpeye