Zendesk SDK Web with React JS

1 Comentarios

  • Tipene Hughes
    Zendesk Developer Advocacy

    Hey, Hazem!

    The Zendesk Web Widget configuration for a react app would be similar to any other. If you're using something like create react app, you'll want to add the widget script directly to your index.html file in the public directory. If you're using Next.js, you'll need to add this to the index.js or a _document file. This will ensure that the widget is added to the DOM at the root of your app. If you need the widget only to appear on certain pages, you can add the script individually to the respective components. 

    I hope this helps!



Iniciar sesión para dejar un comentario.

Tecnología de Zendesk