- Notifications
You must be signed in to change notification settings - Fork44
Releases: rescript-lang/rescript-react
Releases · rescript-lang/rescript-react
0.14.0
c8c3d05 This commit was created on GitHub.com and signed with GitHub’sverified signature.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
2 people reacted
0.14.0-rc.1
caed8c9 This commit was created on GitHub.com and signed with GitHub’sverified signature.
0.14.0-rc.1Pre-release
Pre-release
Assets2
Uh oh!
There was an error while loading.Please reload this page.
1 person reacted
0.13.1
501d369 This commit was created on GitHub.com and signed with GitHub’sverified signature.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
0.13.0
654aa4b This commit was created on GitHub.com and signed with GitHub’sverified signature.
💥 Breaking Change
- Replace usages of
%externalby binding toglobalThis. This is to support upcoming ReScript 12 versions. For older browsers, it may be necessary to polyfillglobalThis.
🐛 Bug Fix
- Remove hardcoded
requireso it works in both common js and ES module modes. (#117)
Assets2
Uh oh!
There was an error while loading.Please reload this page.
2 people reacted
0.12.2
15c7f0d This commit was created on GitHub.com and signed with GitHub’sverified signature.
- Fix incorrect usage of
@uncurry. - bsconfig.json -> rescript.json.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
2 people reacted
0.12.1
bc0d138 This commit was created on GitHub.com and signed with GitHub’sverified signature.
- Undeprecate numbered hooks for a smoother upgrading experience.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
0.12.0
a8a4a2f This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
- Requires ReScript 11.0.0 or newer.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
0.12.0-alpha.3
a51c275 This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
0.12.0-alpha.3Pre-release
Pre-release
💥 Breaking Change
- 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 - 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:- 0 dependencies:
[] - 1 dependency:
[a] - more than 1 dependency:
(a, b, ...)
- 0 dependencies:
- For example, useEffect instead of useEffectN e.g.
- For calling
useEffect,useLayoutEffectetc.without a dependency array (meaning that the effect is executed on every render), there are now separate bindingsuseEffectOnEveryRender,useLayoutEffectOnEveryRenderetc.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
8 people reacted
0.12.0-alpha.2
0.12.0-alpha.2Pre-release
Pre-release
🚀 New Feature
- Added
React.lazy_.
💥 Breaking Change
- Requires ReScript 11.0.0-alpha.6 or newer.
🐛 Bug Fix
- Fixed children type for
Fragment,StrictModeandSuspense.
💅 Polish
- Removed experimental
SuspenseListcomponent.
Assets2
Uh oh!
There was an error while loading.Please reload this page.
3 people reacted
0.12.0-alpha.1
0.12.0-alpha.1Pre-release
Pre-release
🚀 New Feature
- Compatibility with ReScript 11 uncurried mode.
- Added
gapprop toReactDOMStyle.make.
💥 Breaking Change
- Removed
React.callbacktype.
🐛 Bug Fix
- Updated
React_V3compatibility module to define record fieldcurrentforref.
Assets2
Uh oh!
There was an error while loading.Please reload this page.