Home > @theatre/react > useDerivationWithoutReRender

useDerivationWithoutReRender() function

This makes sure the derivation remains hot as long as the component calling the hook is alive, but it does not return the value of the derivation, and it does not re-render the component if the value of the derivation changes.

Signature:

export declare function useDerivationWithoutReRender<T>(der: IDerivation<T>): IDerivation<T>;

Parameters

Parameter Type Description
der IDerivation<T>

Returns:

IDerivation<T>