Hacker News new | ask | show | jobs
by iRomain 2137 days ago
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?

2 comments

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.
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.