From 282df4cb9e387398da4b93d164ba72984f8bbdd6 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Wed, 24 May 2023 20:50:28 +0200 Subject: [PATCH] Fix changelog --- CHANGELOG.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6428fcf..4bcc147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,15 +10,10 @@ > - :house: [Internal] > - :nail_care: [Polish] -## 0.12.0-alpha.2 - -#### :rocket: New Feature - -- Added `React.lazy_`. +## 0.12.0-alpha.3 #### :boom: Breaking Change -- Requires ReScript 11.0.0-alpha.6 or newer. - Deprecated use\*N functions in favor of changing the signature of the main hook function. - For example, useEffect instead of useEffectN e.g. `useEffect3(f, (a, b, c))` -> `useEffect(f, (a, b, c))` - The affected hooks include `useEffect`, `useLayoutEffect`, `useCallback`, `useMemo`, `useImperativeHandle`, `useInsertionEffect` @@ -26,7 +21,17 @@ - 0 dependencies: `[]` - 1 dependency: `[a]` - more than 1 dependency: `(a, b, ...)` -- 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. +- 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. + +## 0.12.0-alpha.2 + +#### :rocket: New Feature + +- Added `React.lazy_`. + +#### :boom: Breaking Change + +- Requires ReScript 11.0.0-alpha.6 or newer. #### :bug: Bug Fix