☎️ React Intercom integration without the hassle, powered by hooks.
MIT License
Bot releases are visible (Hide)
Published by devrnt almost 3 years ago
bundlesize
to size-limit
(#381)https://github.com/devrnt/react-use-intercom/compare/v1.4.0...v1.4.1
Published by devrnt about 3 years ago
autoBootProps
: allow to pass props to the boot method that is called when autoBoot
is true
#308https://github.com/devrnt/react-use-intercom/compare/v1.3.0...v1.4.0
Published by devrnt over 3 years ago
react-use-intercom
to "hook" into an existing instance of Intercom, e.g., loaded in by another platform such as Segment #267 (thanks @vai0)https://github.com/devrnt/react-use-intercom/compare/v1.2.0...v1.3.0
Published by devrnt over 3 years ago
package.json
#238https://github.com/devrnt/react-use-intercom/compare/v1.1.9...v1.2.0
Published by devrnt over 3 years ago
README.md
https://github.com/devrnt/react-use-intercom/compare/v1.1.8...v1.1.9
https://github.com/devrnt/react-use-intercom/compare/v1.1.7...v1.1.8
https://github.com/devrnt/react-use-intercom/compare/v1.1.6...v1.1.7
https://github.com/devrnt/react-use-intercom/compare/v1.1.5...v1.1.6
Published by devrnt almost 4 years ago
https://github.com/devrnt/react-use-intercom/compare/v1.1.4...v1.1.5
next build
by adding require
exports
in package.json
(#125)https://github.com/devrnt/react-use-intercom/compare/v1.1.3...v1.1.4
Published by devrnt almost 4 years ago
IntercomProps
and BootIntercomProps
TypeScript interfacesexports
entry in package.json
https://github.com/devrnt/react-use-intercom/compare/v1.1.2...v1.1.3
apiBase
optional prop in the IntercomProvider
to fix an issue where some ISP block the default Intercom api base url (thanks @doankhoi #96)https://github.com/devrnt/react-use-intercom/compare/v1.1.1...v1.1.2
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