schizanon,
@schizanon@mastodon.social avatar

I built this POC to demonstrate how I'd use CustomEvents to implement Signals. Please criticize my approach and tell me why I need a native browser API for this.

https://card-calc.surge.sh/

#webDev #javaScript #signals #observable #frontend #customEvents #events #svelte #preact #rxjs

developit,
@developit@mastodon.social avatar

@schizanon tbh main reason is that this would be super slow if you used it a lot (~ffi cost)

schizanon,
@schizanon@mastodon.social avatar

@developit how might I update my example to witness this slowness?

developit,
@developit@mastodon.social avatar

@schizanon duplicate it 1000 times on the same page but driven by a single input field.

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