Skip to content

Commit 83cefbf

Browse files
authored
Fix changelog (#98)
1 parent 2f84dbc commit 83cefbf

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

CHANGELOG.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,28 @@
1010
> - :house: [Internal]
1111
> - :nail_care: [Polish]
1212
13-
## 0.12.0-alpha.2
14-
15-
#### :rocket: New Feature
16-
17-
- Added `React.lazy_`.
13+
## 0.12.0-alpha.3
1814

1915
#### :boom: Breaking Change
2016

21-
- Requires ReScript 11.0.0-alpha.6 or newer.
2217
- Deprecated use\*N functions in favor of changing the signature of the main hook function.
2318
- For example, useEffect instead of useEffectN e.g. `useEffect3(f, (a, b, c))` -> `useEffect(f, (a, b, c))`
2419
- The affected hooks include `useEffect`, `useLayoutEffect`, `useCallback`, `useMemo`, `useImperativeHandle`, `useInsertionEffect`
2520
- With this change, it is now possible to pass any value as the second argument `'deps`. In case you pass an invalid value, you will get a warning from React at runtime. You should be using one of the following values for the dependency array:
2621
- 0 dependencies: `[]`
2722
- 1 dependency: `[a]`
2823
- more than 1 dependency: `(a, b, ...)`
29-
- For calling `useEffect`, `useLayoutEffect` etc. *without* a dependency array (meaning that the effect is executed on every render), there are now separate bindings `useEffectOnEveryRender`, `useLayoutEffectOnEveryRender` etc.
24+
- For calling `useEffect`, `useLayoutEffect` etc. _without_ a dependency array (meaning that the effect is executed on every render), there are now separate bindings `useEffectOnEveryRender`, `useLayoutEffectOnEveryRender` etc.
25+
26+
## 0.12.0-alpha.2
27+
28+
#### :rocket: New Feature
29+
30+
- Added `React.lazy_`.
31+
32+
#### :boom: Breaking Change
33+
34+
- Requires ReScript 11.0.0-alpha.6 or newer.
3035

3136
#### :bug: Bug Fix
3237

0 commit comments

Comments
 (0)