Hello again @harpreet.freelance thanks for sharing your concerns.
If the Instagram and twitter posts that you are embedding are iframes, they will work out of the box.
<scripts> it’s a bit different as React doesn’t execute
<script> s on load when they are rendered with
In any case, we have a specific Frontity package to solve this kind of situations, it’s called html2React. Here’s a link to the official documentation: https://docs.frontity.org/api-reference-1/frontity-html2react
The html2react package, among other things, comes with a processor to enable lazy loading for
<iframe>s https://docs.frontity.org/api-reference-1/frontity-html2react#iframe and a processor to render
<script> tags: https://docs.frontity.org/api-reference-1/frontity-html2react#script
In addition to all these, we will also release a specific package for Google Ads. But you don’t have to wait for it, you can adapt your ads using the html2react package.
So, as far as I see, everything that you are planning is feasible with Frontity, and I’d say that it will be easier for you to use a Framework like Frontity instead of trying to build everything from scratch using React or vue.js directly.
We are aware that the documentation for the html2react package is under construction, so if you need help don’t hesitate to ask so we can help you.