s-ol’s avatars-ol’s Twitter Archive—№ 2,322

    1. …in reply to @rsnous
      @rsnous Yeah, I have a couple of things tho throw out there: The system needs to also establish the identity of the call-context to track it's "lifetime". E.g. for react, component-render-invocation is done by react, so react also knows when to free up the resources allocated for each fn
  1. …in reply to @S0lll0s
    @rsnous the "hooks" (in react talk) need some special sauce to talk to the global state management system and learn about the "fully-qualified state name", so there's special implementation details. But once you have basic hooks they compose trivially w/o this as functions!