☎️ React Intercom integration without the hassle, powered by hooks.
MIT License
Bot releases are hidden (Show)
Published by devrnt about 4 years ago
This result in a production bundle without the (development) logs. As well as a bundlesize reduction of 0.28kB
https://github.com/devrnt/react-use-intercom/compare/v1.1.0...v1.1.1
Published by devrnt about 4 years ago
customAttributes
to be passed to company records (thanks @willviles #69)https://github.com/devrnt/react-use-intercom/compare/v1.0.0...v1.1.0
Published by devrnt over 4 years ago
Although react-use-intercom
has been stable since v0.1.0 this is the first major release without any breaking changes.
README.md
with logoexample
playground with logoreact-use-intercom
https://github.com/devrnt/react-use-intercom/compare/v0.4.0...v1.0.0
Published by devrnt over 4 years ago
shouldInitialize
in IntercomProvider
. This indicates if the Intercom should be initialized. Can be used in multistaged environment, like when there is no need to initialize the Intercom in development.https://github.com/devrnt/react-use-intercom/compare/v0.3.1...v0.4.0
Published by devrnt over 4 years ago
README.md
https://github.com/devrnt/react-use-intercom/compare/v0.3.0...v0.3.1
IntercomProvider
.README.md
.https://github.com/devrnt/react-use-intercom/compare/v0.2.0...v0.3.0
If you previously used custom attributes:
Pass your custom attributes to the customAttributes
property in the boot
and/or update
method from useIntercom
.
Remark - you should pass you raw custom attributes, that means snake cased. In other words how you pass them to customAttributes
is how Intercom will receive them (snake cased).
const { boot, update } = useIntercom();
boot({
name: 'Russo',
// Intercom will receive the raw key, so don't use camel casing here.
// Intercom wants their keys snake cased
customAttributes: { custom_attribute_key: 'hi there' }
});
update({
name: 'Ossur',
// Intercom will receive the raw key, so don't use camel casing here.
// Intercom wants their keys snake cased
customAttributes: { custom_attribute_key: 'bye there' }
});
https://github.com/devrnt/react-use-intercom/compare/v0.1.2...v0.2.0
https://github.com/devrnt/react-use-intercom/compare/v0.1.1...v0.1.2