Skip to content

[react-use-intercom] onHide, onShow, onUserEmailSupplied, boot Intercom instance is not initalized yet (NextJS 15) #726

@maxaqquepucho

Description

@maxaqquepucho

Describe the bug
Este error aparece en Next JS 15. Estoy integrando la biblioteca como se muestra en la documentación.

To Reproduce
Steps to reproduce the behavior:

  1. Setup the intercom provider context.
  2. Use the hook useIntercom
  3. Call the function boot

Screenshots

image image

Desktop

  • OS: Mac
  • Browser: chrome

Additional context
To solve this issue. use a setTimeout function. This is not the perfect solution but it works
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions