Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

103
Vistas
Got an issue with using google script on React
  1. Situation

Here's the solution that I'm trying to use about sending a message to my registered email via google script on my portfolio site.
https://github.com/dwyl/learn-to-send-email-via-google-script-html-no-server

Currently I've built my portfolio with React.js.

  1. Issue

The issue is that it doesn't print thankyou_message even after the mail has been successfully sent, which means I only see {"result": "success", ...} on the webpage.

  1. What I've tried

I attached form-submission-handler.js in public folder, and the place where I added the tag(<script data-cfasync="false" type="text/javascript" src="form-submission-handler.js"></script>) is in the index.html in public folder, like below.

<body>
  <div id="root"></div>
  <script data-cfasync="false" src="%PUBLIC_URL%/form-submission-handler.js"></script>
</body>

It seems like I've attached the script tag on wrong place, I'm not sure though. If it is not the way or place to use this solution in JSX, could you please let me know?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda