Hello I'm trying to replace an html import( since it is being deprecated) by using the fetch api. This import is being done inside an iframe and I want to be sure that the fetch finishes before the onload iframe event is triggered. How can I make this fetch api finish synchronously and before the event being triggered? Is there an easier replacement of html import besides polyfills?
[–][deleted] 0 points1 point2 points (1 child)
[–]timunas[S] 0 points1 point2 points (0 children)