UNPKG
@rbxts/hook-bag
Version:
latest (0.2.0)
0.2.0
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Collection of custom roact hooks
github.com/Rimuy/hook-bag
Rimuy/hook-bag
@rbxts/hook-bag
/
typings
/
useForceUpdate.d.ts
9 lines
(7 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import { CoreHooks }
from
"@rbxts/roact-hooks"
;
/** * Returns a callback that once called, will cause the component to re-render. *
@param
hooks The core hooks. */
declare
function
useForceUpdate
(
hooks: CoreHooks
): (
) =>
void
; export = useForceUpdate;