2 ms·
So basically, the answer is to do it how you did before (shared global state or events etc) I recently took the time to explore a new idea I haven’t seen explo
by hardwaresofton 6y ago
So basically, the answer is to do it how you did before (shared global state or events etc)
I recently took the time to explore a new idea I haven’t seen explored before —- services as DOM elements:
https://www.vadosware.io/post/sade-pattern-services-as-dom-elements/ https://www.vadosware.io/post/sade-pattern-services-as-dom-e...
Straight to the repo:
https://gitlab.com/mrman/services-as-dom-elements https://gitlab.com/mrman/services-as-dom-elements
The idea is simple, use references to get at other DOM elements that happen to act like whatever kind of store you need