schizanon, (edited ) to random
@schizanon@mas.to avatar

It's cool that is integrating with .

It feels like we've been circling around this design pattern for decades; they've been called Observables, Pub/Sub, State, Context, etc.

STOKED to hear that there's discussion around standardizing and adding Signals to the !

https://www.youtube.com/live/ri9FEl_hRTc?si=-oztbFGgLG0f9aXJ&t=1636

schizanon,
@schizanon@mas.to avatar

"in a way you can think of a lit element is like a computed effect of a signals although our system kinda works like a push system instead of signals that often have a pull system" ~ @justinfagnani

schizanon, to javascript
@schizanon@mas.to avatar

It's super cool that is supporting standard , but I'm still not going to use them!

Maybe one day when they don't need to be transpiled anymore.

schizanon, (edited ) to CSS
@schizanon@mas.to avatar

I think that solves 's problems and is right to scope styles to the element.

schizanon, (edited ) to react
@schizanon@mas.to avatar

is getting a "context" api https://www.npmjs.com/package/@lit/context

It seems to work like , but it's an open standard that other frameworks can apparently implement.

fogoplayer, to random
@fogoplayer@mastodon.world avatar

One thing that gets me really excited about #webcomponents is the ability to change course.

I had a project written in #vanillajs , but that was a pain, so I started writing new code using #webcomponents . But that was still a pain, so I decided to write any new components using #litelement .

For my next project I’m thinking about using #hauntedjs and #ionicframework , but there’s peace of mind knowing that if I don’t like it I can go back to #litelement or #vanillajs .

fogoplayer,
@fogoplayer@mastodon.world avatar

@hasanhaja that's part of why I'm curious about #hauntedjs , which brings functional components to #lithtml . And to be clear, the tooling isn't awful, it's just not as good as you'd expect from the most popular framework (big surprise).

However, the devex of vanilla #webcomponents is as least as far behind lit as lit is behind React. If you know you want to be framework-agnostic, lit is a pretty obvious way to go.

Personally, I really like the freedom of not being constrained to a (2/x)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines