T
ReactPatch
One patcher.react hook: takes a memo, forwardRef or class component, or the object and key holding any component.
type ReactPatch<Kind extends PatchType> = { <C extends ReactPatchTarget>(component: C, callback: ReactCallbackOf<Kind, ReactPropsOf<C>, ReactSelfOf<C>>, options?: PatchOptions): () => void; <M extends PatchParent, K extends string>(parent: M, key: K, callback: ReactCallbackOf<Kind, ReactPropsOf<M[K]>, ReactSelfOf<M[K]>>, options?: PatchOptions): () => void }