GitHub / rescript-react-native / rescript-react-native
ReScript bindings for React Native
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Frescript-react-native
PURL: pkg:github/rescript-react-native/rescript-react-native
Stars: 931
Forks: 149
Open issues: 12
License: mit
Language: ReScript
Size: 5.93 MB
Dependencies parsed at: Pending
Created at: over 8 years ago
Updated at: 12 days ago
Pushed at: 6 days ago
Last synced at: 5 days ago
Commit Stats
Commits: 1243
Authors: 103
Mean commits per author: 12.07
Development Distribution Score: 0.683
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/rescript-react-native/rescript-react-native
Topics: hacktoberfest, react, react-native, rescript, rescript-react, rescript-react-native
Funding Links https://github.com/sponsors/MoOx
0.64.0
0.64.0
Breaking Changes
- Removed
CheckBox76ef45c by @MoOx ImageLoadEvent.source.urlis nowImageLoadEvent.source.urice21b74 by @MoOx- Remove
UIManager.playTouchSound(useSoundManager.playTouchSoundinstead) cd03cfb by @MoOx Pressable_is nowPressable(to benefit of the full benefit of Pressable, following deprecation notice in 0.63.3) 421962f by @MoOx- Changed
ActionSheetIOSdestructiveButtonIndexto accept array instead of just int (as RN acceptsint | array<int>) 81f4f18 by @MoOx - Changed
ImageuriSourceheadersto beJs.Dict.t(string)ca786f9 by @MoOx
Added
- Added
PlatformColoriOSclearcolor b813ee9 by @MoOx + b9e33c7 - Added
Textandroid_hyphenationFrequencyprop 1864063 by @MoOx - Added
TextdataDetectorTypesprop 635066c by @MoOx - Added
Textdisabledprop 635066c by @MoOx - Added
TextmaxFontSize…Multiplierprop 635066c by @MoOx - Added
TextnativeIDprop 635066c by @MoOx - Added
TextonTextLayoutprop 635066c by @MoOx - Added
Textgesture responder props 635066c by @MoOx - Added
TextInputonPressIn&onPressOut13b8e7f by @MoOx - Added
NativeEventEmitter.listenerCounte88e336 by @MoOx - Added
ActionSheetIOSdisabledButtonIndices74af1ab by @MoOx
Download
0.63.5
0.63.5
Fix & change Android PlatformColor binding to use built-in selector #737 by @diaozheng999
- Fixed
PlatformColor.Android.getAttr: now use"?android:attr/*instead of"?attr/* - Added
PlatformColor.Android.get{x}(x being an integer from 2 to 7) so you can use@android:color&@?android:attrin the same call, asPlatformColoraccepts multiple arguments as fallbacks. - Added
PlatformColor.unsafeGet{x}(x being an integer from 2 to 7) that allow you to pass unsafe values (string, which can be useful for user defined values).
Also:
- Added
PlatformColor.Android.get - Added
PlatformColor.Ios.get{x}like Android PlatformColor.IOSis deprecated in favor ofPlatformColor.IosPlatformColor.Android.unsafeGetis deprecated in favor ofPlatformColor.unsafeGet
Download
Download
0.63.3
0.63.3
Added Pressable with child function and interaction states (as Pressable_) #735 by @Freddy03h
Download
0.63.0
0.63.0
Breaking changes
- ⚠️ Changed minimal versions required #722 by @cknitt
- ReScript / bs-platform 8.2
- reason-react 0.9.1
- Switched solution to avoid warnings being throw as errors b5038e9 by @MoOx with the help of @Freddy03h and @bobzhang in #718
This will help to avoid issue if ReScript introduce new warning that caused in the past impossibility to use our bindings (eg: ReScript 8.2 bs.string annontations). - Switch to polymorphic variants instead of abstract types where possible
#724 #727 by @cknitt - Removed superfluous bs.string attributes #723 by @cknitt
This change shouldn’t impact your code if you are using ReScript 8.2 as required. - Accessibility changes for react-native 0.63 #728 by @cknitt
- Removed
accessibilityComponentType - Removed
accessibilityTraits. - Added
AccessibilityActionEvent - Added
onAccessibilityAction. - Added
Accessibility.actionInfo(already there, but broken - missing unit to terminate argument list). - Note that
Accessibility.rolewas actually already up to date (except for the value “switch” which we can’t add because it’s a keyword). Feel free to open an issue if you needswitchvalue.
- Removed
- Removed
Global.unstable_enableLogBox#718 by @gedeagas
This is now enabled by default in React Native 0.63. See addedLogBoxbindings for more options. - Removed
tintColorprop from Switch component #714 by @gedeagas
Fixes
New Features
- Added
DynamicColorIOS#717 by @celsobonutti
Note that there is only 2 keys (lightanddark) but React Native documentation mention they might be more in the future, without saying if they will be mandatory or not. If you want to protect yourself, you might want to make your own factory. In any case, we can still deprecate themakebinding & create a new external binding with optional keys. So don’t worry too much. - Added
PlatformColorbinding #730 by @rifaldhiaw - Added
PermissionsAndroid.accessBackgroundLocation#729 by @cknitt + b8392e3 by @MoOx - Added
LogBox#711 by @idkjs - Added
accessibilityActionsprop #713 by @gedeagas - Added
Pressable#712 by @gedeagas - Added
AppStatevaluesunknownandextension(iOS) #726 by @cknitt
Misc
Download