Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!