An open API service providing repository metadata for many open source software ecosystems.

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

Releases
0.74.1

0.74.1

  • UIManager showPopupMenu and dismissPopupMenu are deprecated 6538dbb by Freddy03h
about 1 year ago
Download
0.74.0

0.74.0

  • 0.74 changes #815 by Freddy03h
    • add space-evenly to align-content
    • add static to position
    • PushNotificationIOS is deprecated
  • Fix onScrollToIndexFailedParams #814 by @cknitt
about 1 year ago
Download
0.73.1

0.73.1

  • fix : rescript.json instead of bsconfig.json for files release config dec45bd by Freddy03h
over 1 year ago
Download
0.73.0

0.73.0

  • Upgrade to rescript 11 38cc49d by Freddy03h
    • upgrade to rescript 11, @rescript/react 12 and jsx 4
    • use record props for component to avoid repetition
    • @obj functions as deprecated
    • edgeInsets as deprecated
    • convert ActivityIndicator Size type to variant
    • binding to Animated components instead of recreating them
  • Fix Keyboard bindings 9380611 by ashishsingh101
  • Remove deprecated stuff from PlatformColors 8daff8b by @cknitt
  • Remove modules that were removed from React Native 1153b72 by @cknitt
  • add transformOrigin 1d00148 by Freddy03h
  • add maintainVisibleContentPosition in scrollview ba62517 by Yummy-sk
over 1 year ago
Download
0.72.0

0.72.0

  • Remove deprecated Slider, DatePickerIOS & ProgressViewIOS 82dc6e1 by @MoOx
  • Add VirtualizedList onStartReached / onStartReachedThreshold props d69aa1e by @MoOx
  • Add Appearance setColorScheme method 878f426 by @MoOx
  • Add Style borderBlockColor borderBlockEndColor `borderBlockStartCo… a12bade by @MoOx
  • Add Style borderEndEndRadius``borderEndStartRadius `borderStartEndRadi… 66b5cbd by @MoOx
  • Add Style margin & padding CSS logical props c91f345 by @MoOx
  • Add various Android accessibility roles values 7057d79 by @MoOx
over 2 years ago
Download
0.71.1

0.71.1

Remove package.json engine section to avoid Yarn installation issue.

over 2 years ago
Download
0.71.0

0.71.0

This release requires @rescript/react 0.11.0 or later.
It contains various breaking changes to match React Native 0.71.

You can see changelog by comparing 0.71 to 0.70

Contributors

over 2 years ago
Download
0.70.0

0.70.0

This release requires ReScript 10.0.0 or later.
It contains various breaking changes.

Breaking Changes

  • _end is now end (not a reserved word anymore) 92e3c6f by @cknitt
  • Camel cased polymorphic variants & _ prefixed props when possible have been changed to reflect React Native original naming convention. Things like #plainText, #boxNone etc have been changed to what they should be (#"plain-text", #"box-none" etc) 6495093 & 6495093 by @cknitt & 4360933 by @MoOx
  • Because a limitation with ReScript that doesn’t handle correctly numeric string as polymorphic variant, fontWeight is now an abstract type. This means that style(~fontWeight=#_600, ()) now becomes style(~fontWeight=FontWeight._600, ()) 44885db by @cknitt
  • @string usage have been removed when possible. This means types that were inlined in bindings are now common. 6495093 by @cknitt
  • Platform.os now use polymorphic variant. if Platform.os === Platform.android becomes if Platform.os === #android. Be careful: if used in a switch, you will lose metro bundler optimisation ! b189fbc & 9964b13 by @cknitt
  • PlatformColor have been rewritten. Lots of deprecation & polymorphic variants changes (eg: for android, instead of #background_dark use #"@android:color/background_dark") 036566e by @MoOx
  • Appearance now returns option<t> instead of Js.Null.t<t> thanks to @nullable 91f0a67 by @cknitt
  • Deprecated Style.pt unit as been removed (use dp instead (density pixel)) 3df0fcf by @cknitt

Others changes

  • Most object types created using externals can now be created using objects with optional fields. This means that things like ActionSheetIOS.showActionSheetWithOptions(ActionSheetIOS.shareOptions(~url,(), /*...*/) can be written ActionSheetIOS.showActionSheetWithOptions({url}, /*...*/). Previous @obj external helpers will be deprecated in the future, and then removed. Note that Style.style() now have a replacement Style.s() that accepts an object with optional keys ! e606a03 by @cknitt
  • Lots of react-native-web@0.17 View props have been added bee39e5 by @MoOx
  • Added Style.empty to avoid Style.arrayOption (so you can write things like Style.array([style1, condition ? style2 : Style.empty])) 762049d by @cknitt
about 3 years ago
Download
0.69.1

0.69.1

about 3 years ago
Download
0.69.0

0.69.0

Breaking changes

  • Update PushNotificationIOS.checkPermissions to include iOS 10+ notification settings 14212c0 by @MoOx

New bindings

  • Add dismissActionSheet method to ActionSheetIOS 7e42b63 by @MoOx
  • Add accessibilityLanguage prop to all the available components a210356 by @MoOx
  • Add soundName option for local push notifications in PushNotificationIOS 4f04d77 by @MoOx
  • Create HitSlop & Rect module (don’t use them directly yet, wait for 0.70 release…) 394bd60 by @MoOx
about 3 years ago
Download