Pebbling Club 🐧đŸȘš

  • Web Performance Calendar » Signals: the nitty-gritty
    Notes
    Mostly revealed to the Web by Solid.js, shortly after embraced by Preact, but also blended into usignal, or implemented by many others, this pattern convinced tons of developers that hooks might not be the best solution to reactivity out there, but while the concept might look and feel super simple and natural to deal with, the complexity behind spans from 30LOC to pretty convoluted code bases.
    Feed
    Embed
    Unfurl
  • 1KB Frontend Library - DEV Community
    Notes
    Our compact signals implementation is inspired by Andrea Giammarchi’s excellent article on signals. If you’re curious about the nitty-gritty, I highly recommend giving it a read.
  • @lit-labs/observers - npm
    Notes
    A set of reactive controllers that facilitate using the platform observer objects, including: MutationObserver ResizeObserver IntersectionObserver PerformanceObserver
    Unfurl
  • preactjs/signals: Manage state with style in every framework
    Notes
    Manage state with style in every framework
    Unfurl
  • @lit-labs/preact-signals - npm
    Notes
    Preact Signals integration for Lit.
    Unfurl
  •   Django Signals enable Aspect-Oriented programming. by Elf Sternberg
    Notes
    "This is exactly the kind of cross-cutting concern (note the use of a signal publisher for notification!) that would be better handled with a signal from the microblogging app. Perhaps the app could have published “tweet received” as a signal, with an optional “module for common associated applications” dispatching that event to logging, activity streams, notifications or whatever as available. The presence of explicit publication would have signaled to any developer to look for subscribers, so I don’t think this is a dangerous case of unlabeled subroutines and the potential for spaghetti code that goes with it. Most Django apps are small silos of code; it would not have been onerous to separate out and isolate this cross-cutting concern from the rest of the microblogging application’s functionality."
    Unfurl