Working on a new geometry problem:
How best to handle flows that pass through several stages without having space made for them as they travel.
It’s looking like the thing to do will be to create _shadow_ nodes/flows which make room in each stage & connect to each other but are not included in the final render.
(I was calling them ‘ghosts’ until I remembered https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM.)
#BuildNiceThings #projects
How best to handle flows that pass through several stages without having space made for them as they travel.
It’s looking like the thing to do will be to create _shadow_ nodes/flows which make room in each stage & connect to each other but are not included in the final render.
(I was calling them ‘ghosts’ until I remembered https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM.)
#BuildNiceThings #projects
Using shadow DOM - Web Components | MDN
An important aspect of web components is encapsulation — being able to keep the markup structure, style, and behavior hidden and separate from other code on the page so that different parts do not clash, and the code can be kept nice and clean. The Shadow DOM API is a key part of this, providing a way to attach a hidden separated DOM to an element. This article covers the basics of using the Shadow DOM.