React and its ecosystem is a pile of garbage perpetuated by industry inertia. UseState, useMemo, useThisAndThat where you have to guess whether that dependency will cause a re-render? Or 20 different routers, state managers, query builders? I'm not even talking about html-in-ts with `!!a && (<div>...</div>)` A stodgy, bloated, overhyped and misused monstrosity, that's what React is.
That, and reduce the immigration ffs. Importing a city-sized population (500k+) every year? - Sorry mate, you just won't be able to build a new city every year.
The obligatory “To love is to suffer. To avoid suffering one must not love. But then one suffers from not loving. Therefore, to love is to suffer; not to love is to suffer; to suffer is to suffer. To be happy is to love. To be happy, then, is to suffer, but suffering makes one unhappy. Therefore, to be happy one must love or love to suffer or suffer from too much happiness.”
All non-stick frying pans die within a year or so. We recently took the plunge and invested in a stainless steel one. Yes, it takes some (very little) time to adjust your cooking style, but that thing comes with a lifetime guarantee and you don't have to worry about accidentally scratching the surface. Win-win.
I suppose it all depends on personality: some swe's prefer to write, some prefer to draw (I do both, but would hate to only have to deal a 1mil-lines-of-code fractal, but would be (and am) fine with the 1970 approach). The OP's solution then might be a great addition to my toolbox.
slotchange is your answer. In the connectedCallback add the eventListener and inside your slotchange handler: const myBs = this._slot?.assignedElements();
Davinci Resolve works on Win, Mac and Linux. Switching to it from Adobe's Premier and Aftereffects was the best decision I've made. Oh, and it's free (not the Studio version).
People have every right to be furious about it though. Look at amazon prime: they've now introduced ads for paying customers. Want no ads? - pay more. What will stop youtube from doing the same? After all, shareholders must appeased. Where does it end?