Skip to content

Commit 906a44f

Browse files
committed
docs: ✏️ Readme update
1 parent 0b411ed commit 906a44f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ const MyComponent: React.FC = () => {
4040
// returns ref with the mounted boolean state
4141
const mounted = useIsMounted()
4242

43+
// Method for the component rerendering
44+
const forceUpdate = useForceUpdate()
45+
4346
// Called before mount
4447
useWillMount(() => {
4548
// ...

0 commit comments

Comments
 (0)