News for hackers. Stuff that matters.
Re:Show HN: Use React to build G Suite dialogs and add-ons by iRomain on Sunday August 16, 2020 @08:38PM (#24182655)
This looks like it was interesting to work on , and you found how to overcome the various challenges.

One question though, if you could use an iFrame to call the same functionality remotely, couldn’t this be used as well for production?

Re:Show HN: Use React to build G Suite dialogs and add-ons by enuchi on Sunday August 16, 2020 @10:26PM (#24183288)
Thanks. Not sure I understand your question, or if I did a good job explaining the iframe bit. The iframe is needed to load the local development experience, but it is not calling the functionality remotely. It is just passing function calls between the Google Apps Script environment and your app.
Re:Show HN: Use React to build G Suite dialogs and add-ons by duiker101 on Monday August 17, 2020 @04:17AM (#24185141)
The way I overcame this issue was to just host the react app somewhere else and include the script in an HTML page rendered by the plugin. I guess an iframe could work too.