rescript-react-native
rescript-react-native copied to clipboard
ReScript bindings for React Native
How would you like to have this implemented now it's supported on Android (it was only iOS before 0.69). For now we have to use `View.edgeInsets(?~top,?~bottom,?~left,?~right, ())` and I am...
ReScript 10 will support records with optional fields. This would allow us to simplify a lot of things/move them closer to how they are done in JS. E.g., styles: Instead...
"end" is not a reserved word in ReScript, see https://rescript-lang.org/docs/manual/latest/reserved-keywords.
I think there's no bindings for React Native I18nManager [module](https://github.com/facebook/react-native/blob/f0fb228ec76ed49e6ed6d786d888e8113b8959a2/Libraries/Utilities/I18nManager.js). Github search of _I18nManager _ in this repository showed no result. If someone could confirm that it is missing and...
## The problem Now that we have `PlatformColor` (nice implementation btw), I think we should think about color not being a type alias to string anymore [(part reversal of this...
## The problem For new comers, having to use `{"title": ...}` & `styles##title` isn't straightforward. ## Considered solution We cannot use record in `StyleSheet.create` so we could write a simple...
Following https://github.com/reason-react-native/reason-react-native/pull/577#issuecomment-524734546
Bringing this over from Discord as requested by @MoOx. I'm basically not sure if this is the right way to use refs and if the external I've defined in the...
As we know, all stylesheet values cannot be used in various places to add/combine styles (because they are `int`). Also we cannot use array() in stylesheets (runtime error). Should we...
I am currently having an optional interpolation depending on an optional animated value ```reason ~transform=[| Transform.translateY( ~translateY= Animated.( animatedFloat( scrollYAnimatedValue ->Option.map(scrollYAnimatedValue => Animated.Value.add( state.animation, Value.interpolate( scrollYAnimatedValue, Interpolation.( config( ~inputRange=[|(-200.), 1.|],...