Dave Stewart & The Spiritual Cowboys - Party Town
https://www.youtube.com/watch?v=QBCQtAv2E70
#DaveStewart #TheSpiritualCowboys #PartyTown
#Flatliners #Music
Dave Stewart & The Spiritual Cowboys - Party Town
https://www.youtube.com/watch?v=QBCQtAv2E70
#DaveStewart #TheSpiritualCowboys #PartyTown
#Flatliners #Music
@westbrook Maybe? That reminds me of #PartyTown and seems to be mirroring the entire set of #DOM APIs into a worker. IIRC #AMP doesn't actually have user #JavaScript at all.
I'm more thinking something like:
// my-component.js
function MyComponent() {
return <div>Hello, World!</div>;
}
Where the framework pushes this automatically into a web worker and then its rendering process would transfer the result to the main thread before rendering it.
// framework.js
const worker = new Worker('./my-component.js');
worker.postMessage('render');
worker.addEventListener('rendered', (evt) => {
const vdom = evt.detail.vdom;
diffAndApply(vdom, document.documentElement);
});
Where the framework forces all user code into the worker and handles the marshaling between the two, hiding the DOM altogether from user code.
Yo, there are so many modern #JavaScript frameworks and workflows!! 😅
I'm extremely fond of @preact, which makes me really excited to use #Fresh and @deno_land (especially now that #Deno supports NPM).
I'm trying my best to keep-up with all the ongoings, but I just learned about #Qwik today and I finally grokked what #Vite and #PartyTown do. 🤪
How does anyone keep all this JavaScript stuff straight? What's current, legacy, upcoming? 😅