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" 🙂
but please
stop, examine, and challenge the assumptions about what this standard will achieve
every argument is so easy to dispute
JS has no other "mock" features like this, and it will cause so many real problems 😔
but please
stop, examine, and challenge the assumptions about what this standard will achieve
every argument is so easy to dispute
JS has no other "mock" features like this, and it will cause so many real problems 😔
wow yeah
great
you really are struggling to come up with arguments, aren't you?
why are you working so hard to try to *make* this into a good idea 🤷♂️
wow yeah
great
you really are struggling to come up with arguments, aren't you?
why are you working so hard to try to *make* this into a good idea 🤷♂️
but sure, it'll work in Node
and as you noted, already does
but
sure.....
but sure, it'll work in Node
and as you noted, already does
but
sure.....
their syntax would not be supported, it would be ignored - just as TS syntax would be ignored
there's really nothing useful or interesting about that
Hegel was a thing - JS/TS users didn't even care
their syntax would not be supported, it would be ignored - just as TS syntax would be ignored
there's really nothing useful or interesting about that
Hegel was a thing - JS/TS users didn't even care
the proposed standard isn't even fully compatible with TS 🤷♂️
the proposed standard isn't even fully compatible with TS 🤷♂️
loaders.
JSX.
you're simply not going to get what you imagine
you'll use this feature once or twice, find it annoying because it's not like your dev env - your code won't actually work and you'll revert back to tools that work
no one is going to actually use this 😌
loaders.
JSX.
you're simply not going to get what you imagine
you'll use this feature once or twice, find it annoying because it's not like your dev env - your code won't actually work and you'll revert back to tools that work
no one is going to actually use this 😌
that is not a reason to burden end users with downloading types
no one benefits from that
this is a developers-only feature
it belongs in developer related tooling and does not need to impact the language spec or production runtime
that is not a reason to burden end users with downloading types
no one benefits from that
this is a developers-only feature
it belongs in developer related tooling and does not need to impact the language spec or production runtime
if you're using tools (which you are unless you're DHH) you're already doing that. already solved.
the only difference is now you can ship types to end users.
which you absolutely shouldn't do.
if you're using tools (which you are unless you're DHH) you're already doing that. already solved.
the only difference is now you can ship types to end users.
which you absolutely shouldn't do.