T

ReactBeforeCallback

A before callback, which can replace a function component's props by returning new ones.

type ReactBeforeCallback<P, Self> = (ctx: ReactBeforeContext<P, Self>) => P | void