Skip to content

Commit 2b5cd13

Browse files
committed
Release 0.2.8
1 parent f991e17 commit 2b5cd13

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ being found.
5858
- `useMemo` can be called without a second argument to default to an empty
5959
dependency array.
6060
- `setState` returns the most recently set value.
61-
- `setState` will not queue a re-render when it is called during the render
62-
function.
61+
- `useState` returns a third element that is the same as `setState` but will not trigger a re-render.
6362
- There is no `useLayoutEffect`.
6463
- `useEffect` is called immediately after the DOM is reconciled.
6564
- Portals can be used with the `Portal` component instead of `createPortal`.

0 commit comments

Comments
 (0)