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: 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

Releases
0.64.0

0.64.0

Breaking Changes

  • Removed CheckBox 76ef45c by @MoOx
  • ImageLoadEvent.source.url is now ImageLoadEvent.source.uri ce21b74 by @MoOx
  • Remove UIManager.playTouchSound (use SoundManager.playTouchSound instead) cd03cfb by @MoOx
  • Pressable_ is now Pressable (to benefit of the full benefit of Pressable, following deprecation notice in 0.63.3) 421962f by @MoOx
  • Changed ActionSheetIOS destructiveButtonIndex to accept array instead of just int (as RN accepts int | array<int>) 81f4f18 by @MoOx
  • Changed Image uriSource headers to be Js.Dict.t(string) ca786f9 by @MoOx

Added

over 4 years ago
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:attr in the same call, as PlatformColor accepts 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.IOS is deprecated in favor of PlatformColor.Ios
  • PlatformColor.Android.unsafeGet is deprecated in favor of PlatformColor.unsafeGet
over 4 years ago
Download
0.63.4

0.63.4

Fixed measure & measureInWindow functions types #736 by @Freddy03h

almost 5 years ago
Download
0.63.3

0.63.3

Added Pressable with child function and interaction states (as Pressable_) #735 by @Freddy03h

almost 5 years ago
Download
0.63.2

0.63.2

Breaking change, sorry: Reverting ActivityIndicator size as polymorphic variant so we can keep the exact option.

about 5 years ago
Download
0.63.1

0.63.1

Fix npm description

about 5 years ago
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.role was 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 need switch value.
  • Removed Global.unstable_enableLogBox #718 by @gedeagas
    This is now enabled by default in React Native 0.63. See added LogBox bindings for more options.
  • Removed tintColor prop from Switch component #714 by @gedeagas

Fixes

  • Fixed VirtualizedListMethods.scrollToItemParams #715 by @cknitt

New Features

  • Added DynamicColorIOS #717 by @celsobonutti
    Note that there is only 2 keys (light and dark) 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 the make binding & create a new external binding with optional keys. So don’t worry too much.
  • Added PlatformColor binding #730 by @rifaldhiaw
  • Added PermissionsAndroid.accessBackgroundLocation #729 by @cknitt + b8392e3 by @MoOx
  • Added LogBox #711 by @idkjs
  • Added accessibilityActions prop #713 by @gedeagas
  • Added Pressable #712 by @gedeagas
  • Added AppState values unknown and extension (iOS) #726 by @cknitt

Misc

  • ReScript branding has been adopted in various places in all the repos of our organisation.
  • More futur proof “files” patterns for npm (in case of interop files) 1a3b677 by @MoOx
  • Simplify package.json files section a9cacbd by @MoOx
about 5 years ago
Download
0.62.3

0.62.3

  • Stop blocking compilation because of BuckleScript warnings (emitted as errors) #708 by @jfrolich
    This is to ensure BuckleScript 8.2 compatibility & avoid similar problem in the future.
over 5 years ago
Download
0.62.2

0.62.2

  • Fixed ScrollEvent type
over 5 years ago
Download
0.62.1

0.62.1

  • Fixed View props for all components that use them (stay in sync)
  • Removed TabBarIOS (removed since RN 0.59)
  • Internal: removed duplicated code source in md files (website will produce the
    same result - no manual syncing required)
over 5 years ago
Download