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: 5 days ago
Last synced at: 4 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
v0.6.0
v0.6.0-beta.1
Changelog
Docs
- Upgrade examples following to the SDK changes (@bohdan-hulha)
- Changed margin top from integer to float (@arthur31416)
- Fix typo in CONTRIBUTING.md (@maarekj)
Breaking
- Fix section type within renderSectionHeader and renderSectionFooter (@tonyhb) ( #103)
- Support non-standard Platform.OS identifiers & iOS idioms (@ryanartecona) (#123)
- creating accessory type that includes section to match react-native s… (@bjornj12) (#130)
Fixes
- Fix interface to PanResponder.t (@johannth)
- TextInput (returnKeyType) (@mobily)
- Fix mimimumZoomScale typo (=> minimumZoomScale) (@MoOx)
- Run RNTester 🎉 (@mobily)
- Make private types under TypesRN and Props public (@jamieparkinson)
- Fix onEndReached props on FlatList and SectionList (@maarekj)
- Add analytic spring parameters to AnimatedRe’s Spring (@jamieparkinson)
Added APIs
- Add DatePickerAndroid API (@tonyhb)
- ActionSheetIOS — bindings (@mobily)
- Clipboard — bindings (@mobily)
- CameraRoll — bindings (@mobily)
- Add
NetInfobindings (@mobily) - Add Animated.Easing bindings (@gilbert)
Other
- Add CI for RNTester (@mobily)
- Update bs-platform to 2.2.0 (@flash-gordon)
Download
v0.5.0
v0.5.0
New features
- Docs updated to Reason 3 (@Mikk36)
- Add
refmt: 3to bsconfig to silent warning (@MarcelCutts) - Troubleshooting section in docs (@rrdelaney)
- Add
onLongPressto touchableWithoutFeedback (@kristinns) - Make RNEvent API public (@gunnigylfa)
- Document gotcha for
react-native-scripts(@RobertPaul01) - Add accessibility labels to touchables (@gunnigylfa)
Breaking changes
- reason-react is now a peerDependency (@arnarthor)
- Namespaces (
open ReactNativebecomesopen BsReactNative)(@arnarthor) - New styles api (@wokalski) (@MoOx)
The style API has been changed from using polymorphic variants so things like flexDirection(`row) are now flexDirection(Row).
It also changes stringly typed values like padding, margin, height, width, etc to have typesafe definitions like margin(Pt(10.)) or margin(Pct(10.)).
- Modify fontSize to be able to animate it (@gunnigylfa)
This changes fontSize(14.) to fontSize(Float(14.))
Update guide
After updating to bs-react-native@0.5.0 you need to do the following
npm install -g esy/yarn global add esy- Go to
node_modules/bs-react-native/upgrade_scripts/styles_v1_to_v2 - Run
esy install - Run
esy build - Run
./_build/default/styles_v1_to_v2.exe <path_to_src>ex:./_build/default/styles_v1_to_v2.exe ../../../src/**/*.re
Download
0.5.0-beta.1
v0.5.0-beta.1 Pre-release
New features
- Docs updated to Reason 3 (@Mikk36)
- Add
refmt: 3to bsconfig to silent warning (@MarcelCutts) - Troubleshooting section in docs (@rrdelaney)
- Add
onLongPressto touchableWithoutFeedback (@kristinns) - Make RNEvent API public (@gunnigylfa)
- Document gotcha for
react-native-scripts(@RobertPaul01)
Breaking changes
- reason-react is now a peerDependency (@arnarthor)
- Namespaces (
open ReactNativebecomesopen BsReactNative)(@arnarthor) - New styles api (@wokalski) (@MoOx)
The style API has been changed from using polymorphic variants so things like flexDirection(`row) are now flexDirection(Row).
It also changes stringly typed values like padding, margin, height, width, etc to have typesafe definitions like margin(Pt(10.)) or margin(Pct(10.)).
Update guide
After updating to bs-react-native@next you need to do the following
npm install -g esy/yarn global add esy- Go to
node_modules/bs-react-native/upgrade_scripts/styles_v1_to_v2 - Run
esy install - Run
esy build - Run
./_build/default/styles_v1_to_v2.exe <path_to_src>ex:./_build/default/styles_v1_to_v2.exe ../../../src/**/*.re
Download
Bugfixes and added props
v0.3.0
Bugfixes and missing props from components
Fixing types of maximumValue and minimumValue from Slider component (#79) - @Denommus
Makes Animated.Scrollview.onScrollUpdate use NativeScrollEvent (#78) - @alliannas
Tab bar item bug (#84) - @wokalski
Add missing props to FlatList (#83) - @arnarthor
Download
Update to Reason React 0.2.4
v0.2.0
This release updates all components to be compatible with Reason React 0.2.4 thanks to @ulrikstrid.
It also includes several small bug fixes from @szymonzmyslony, @kristinns and @Mikkel.
We also bumped bs-platform to 1.9.1 and enabled bs-super-errors.
Thanks for all these contributions!
Download
Download