Hey reactive JS folks! I'm working to bring Observables to the web platform by reviving a @thedomstandard proposal that got some attention a while ago. @BenLesh and I would love your feedback, so check out github.com/domfarolino/obser… if you want to do things like this soon:
36
115
781
518,525
how does cleanup work? Also, this aligns very nicely with #EmberJS's choice of `on` to abstract add/remove Event Listener

Jul 31, 2023 · 4:38 PM UTC

1
4
1,395
Sort replies: Relevant Recent Liked
"Cleanup" happens by unsubscribing from an Observable. You can do this implicitly with methods like `takeUntil()` that handle that internally, or you can do it explicitly with AbortController. See this example: github.com/domfarolino/obser…
9
1,010