Restructure root-thread building
* 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
Showing
Please register or sign in to comment