youtu.be/J5oZ80Daduc
absolute magic
I've watched the whole thing end to end several times 😄
youtu.be/J5oZ80Daduc
absolute magic
I've watched the whole thing end to end several times 😄
the balance is way off already.
writing used to take 10-100x the effort of reading & understanding.
a PR now might "look real", even if no real effort went into it, even if it's not worth your time at all. 🙄
the balance is way off already.
writing used to take 10-100x the effort of reading & understanding.
a PR now might "look real", even if no real effort went into it, even if it's not worth your time at all. 🙄
but most other frameworks use a model where you can atomically update (and validate etc) multiple properties in a single call
you can't have that with web components. (or you could, but they wouldn't really be web components...)
but most other frameworks use a model where you can atomically update (and validate etc) multiple properties in a single call
you can't have that with web components. (or you could, but they wouldn't really be web components...)
so you wouldn't deal with invariants (like in my example) before it updates
so you either have to allow (and handle) invalid states, or throw exceptions during rendering (no useful stack trace) or leave elements in an undefined state
so you wouldn't deal with invariants (like in my example) before it updates
so you either have to allow (and handle) invalid states, or throw exceptions during rendering (no useful stack trace) or leave elements in an undefined state
x.com/mindplaydk/s...
I assume it must have either a non standard method to make atomic updates? or a means of deferring the actual DOM updates as a microtask?
either kind of breaks the DOM contract 😌
x.com/mindplaydk/s...
I assume it must have either a non standard method to make atomic updates? or a means of deferring the actual DOM updates as a microtask?
either kind of breaks the DOM contract 😌
I'd say Lit is a framework for building web components
we can quip over the definition of "framework", to me it mostly means that it prescribes how you build things
libraries do not prescribe, they just provide
I'd say Lit is a framework for building web components
we can quip over the definition of "framework", to me it mostly means that it prescribes how you build things
libraries do not prescribe, they just provide
they want you to call them context engineers or some bull shit now, even if they never looked at a line of code
anything with "engineer" in it is preferred, and actual developers who do actual work are losers who are going to get "left behind"
they want you to call them context engineers or some bull shit now, even if they never looked at a line of code
anything with "engineer" in it is preferred, and actual developers who do actual work are losers who are going to get "left behind"
the TS language service is killllling my computer slowly
our code base is bigggg 😄
the TS language service is killllling my computer slowly
our code base is bigggg 😄
I can't even say what it is exactly - both of those shapes just annoy me and make me think "what? why??"
they're just "wrong" somehow
I wouldn't use that shape for anything 🤷♂️
I know it's probably just me but 🙈😂
I can't even say what it is exactly - both of those shapes just annoy me and make me think "what? why??"
they're just "wrong" somehow
I wouldn't use that shape for anything 🤷♂️
I know it's probably just me but 🙈😂
comments look like comments, so it's easy to understand they're comments
this will look like actual syntax, which will confuse new developers
apparently "code" that is just "there" but does nothing - essentially forcing JS devs to learn Typescript
comments look like comments, so it's easy to understand they're comments
this will look like actual syntax, which will confuse new developers
apparently "code" that is just "there" but does nothing - essentially forcing JS devs to learn Typescript
VS Code is still behind in many of these, esp. goto & refactoring, but it's free and "good enough" 🙂
VS Code is still behind in many of these, esp. goto & refactoring, but it's free and "good enough" 🙂