reactlynx-testing-library / RenderHookResult
The result of renderHook
类型参数 |
---|
Result |
Props |
Triggers a re-render. The props will be passed to your renderHook callback.
范围 | 类型 |
---|---|
props ? |
Props |
void
index.d.ts:1327
This is a stable reference to the latest value returned by your renderHook callback
The value returned by your renderHook callback
index.d.ts:1332
Unmounts the test component. This is useful for when you need to test any cleanup your useEffects have.
void
index.d.ts:1342