3 ms·
Found some context: https://github.com/WICG/portals https://github.com/WICG/portals I think this proposal is a better starting point for readers than an API sp
by szhu 6y ago
Found some context: https://github.com/WICG/portals https://github.com/WICG/portals
I think this proposal is a better starting point for readers than an API spec.
Goals, taken directly from the proposal:
- Enable seamless navigations from a page showing a portal, to the portaled page
- Enable seamless navigations between pages of a portal-aware website
- Avoid the characteristics of iframes which have negative impacts on security, privacy, and performance
Also: https://github.com/WICG/portals#summary-of-differences-between-portals-and-iframes https://github.com/WICG/portals#summary-of-differences-betwe...
- voppe 6y agoWell damn, that is much more understandable and super interesting. Thank you! It seems to be some sort of in-page browser tab? Let's see what that brings. (besides interactive advertising, obviously)
- omneity 6y agoIt's closer to Android Activities rather than tabs since you only have one you can interact with at a time and you can send and receive data from it.
- xwdv 6y agoWhy bother with that limitation?
- hazz99 6y agoYou'll be able to implement more SPA-like instant navigation with preloading, etc. See the list of use cases [0] for more [0]: https://github.com/WICG/portals#use-cases https://github.com/WICG/portals#use-cases