Goodbye iframes

1 · BBC · July 24, 2019, 10:16 a.m.
or: How I learnt to Stop Worrying and Love the Shadow DomRecently we, in the BBC’s Visual Journalism department, have made the switch from iframes to Shadow Dom. It took us six months from concept to production but the results make it worthwhile: our products load more than 25% faster and feel more interactive. But why were we using iframes in the first place, why didn’t we just use Web Components, and what lessons can I impart to you, dear reader?The content that the Visual Journalism departmen...