• Lyza Danger Gardner's avatar
    Restructure root-thread building · ddcad97d
    Lyza Danger Gardner authored
    * Establish a `root-thread` utility that is pure and takes its state
      as a single argument; wrap with `memoize` and export
    * Create a memoized rootSelector in the `selection` module that composes
      the state needed by the `root-thead` utility
    * The `useRootThread` hook uses the selector and the `root-thread` util
    ddcad97d
stream-content-test.js 4.14 KB