Documents / @faasjs/react / useConstant
Function: useConstant()
useConstant<
T
>(fn
):T
Returns a constant value that is created by the given function.
Type Parameters
• T
Parameters
• fn
Returns
T
Documents / @faasjs/react / useConstant
useConstant<
T
>(fn
):T
Returns a constant value that is created by the given function.
• T
• fn
T