devrnt / react-use-intercom

☎️ React Intercom integration without the hassle, powered by hooks.
https://devrnt.github.io/react-use-intercom/#/useIntercom
MIT License
337 stars 43 forks source link

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

Open devrnt opened 5 months ago

devrnt commented 5 months ago

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.

ng-hai commented 4 months ago

Thank you so much for your effort 🙌🏽

danilo-89 commented 4 months ago

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!

devrnt commented 4 months ago

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