Making Gloodata embeddable using Web Components and Shadow DOM
The demo embeds Gloodata in the Future of Coding history search web app and shows how it can do external requests to the app and get information back from it.
Shadow DOM allows to isolate all scripts and styles from both sides and allow embeding in any web app using vanilla js/DOM and Web Components.
https://www.youtube.com/watch?v=04itLyq6Mdg▾
❤️ 2
🤯 1
Mariano Guerra
02/19/2024, 11:30 AM
@Csongor Bartus let's continue here 🙂
yes, it only needs a modern browser, the rest is a single web component tag that can be inserted anywhere using vanilla js or any other way your app uses for that
c
Csongor Bartus
02/19/2024, 11:34 AM
Excellent 🙂 How we were not aware of this before? 🙂 ... Lots of questions ... any resource to share where to start looking up this technique?
m
Mariano Guerra
02/19/2024, 11:35 AM
this is a good intro:
https://www.youtube.com/watch?v=2I7uX8m0Ta0▾
Mariano Guerra
02/19/2024, 11:35 AM
PS: It's not the end of react 😄
c
Csongor Bartus
02/19/2024, 11:36 AM
I hope so ... I like it very much 😄
m
Mariano Guerra
02/19/2024, 11:36 AM
but useful for this kind of framework agnostic embedding with isolation without needing to reach for iframes