One of the main "problems" we solved with adopting styled-components back in 2016 was styles colocation where more junior members managed to create a several thousand line CSS file with a mess of selectors which we couldn't safely figure out which is used where.
My current plan is to transition to CSS Modules which should allow preserving most (if not all) of the current styled-components DX and advantages.
CSS-in-js is one of the best things that happened to the web over the last 10y. And no, this is not for web documents which many call “apps” these days.
It might be that there is no built-in functionality for some things in pure HTML. But most of the time, standard HTML tags provide all the functionality you need, even for web applications. And this benefits people with disabilities.
Trying to debug this right now, had similar reports. It's something with my CodeSandbox embeds (through Sandpack). I've tried better error handling but nothing yet, based on the error I'm seeing it sounds like it's overloading the GPU. Surprisingly can't find anything in Sandpack about it.
Might just remove the embedded sandboxes. They're cool, but not needed.
It definitely seems like Tesla is slowly seeping into the world of other car manufactures in an ongoing manner. And I don't think they/we have given much thought to what's yet to come. Batteries, auto-pilot, training/inference, manufacturing/robotics, and so on...
Do any of really think, especially given the track record, that most of the auto-industry is going to be able to do any of this alone? I imagine that eventually it will come down to a choice between partnering with a bunch of disparate tech/manufacturing companies or Tesla.
We all know there is disruption to come in general, but it's going to hit the incumbent auto-manufacturers like a brick if they don't wake up soon.
Auto makers are used to making their own platforms, and they won't change. Making a platform is not the hard part, and there are advantages to a custom platform for each vehicle.
But not their platforms. Automakers generally make their own platforms (though they will rebadge someone else's too), engines (again they share with each other, but most have their own), and transmissions. Everything else is outsourced to companies like Bosch.
The definition of readability changes with one’s experience. With time you really want something with less redirections and something which is easy to change like globally.
Debuggers allow you to examine a call stack with their states with a single breakpoint and yes sometimes you don’t event think about where to place the breakpoint like anywhere within a call stack. Another thing is that modern debuggers allow custom code execution which also in a way powerful tool.
I wish people stopped calling websites as applications and I wish web site developers spent more time learning how the world has been building great desktop apps for years. It’s just beneficial to get out of the bubble once in awhile to validate certain ideas