Add binding for PlatformColor by celsobonutti · Pull Request #716 · rescript-react-native/rescript-react-native

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@celsobonutti

Copy link Copy Markdown

Contributor

This PR adds PlatformColor

Copy link Copy Markdown

Member

@MoOx MoOx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. Thanks for the contribution!
We are trying to have only zero cost bindings to avoid additional cost & layer prone to error.
Ideally, except some very minor thing that we should be able to remove thanks to BS 8.2, the JavaScript code produced should directly hit React & React Native JavaScript implementation, without any extra runtime & bundle cost.
We prefer low level, more verbose bindings instead of "an interpretation" layer. Do you think you can adjust your bindings to match this philosophy?

@MoOx MoOx mentioned this pull request

Sep 11, 2020

11 tasks

@MoOx

Copy link Copy Markdown

Member

MoOx commented

Nov 4, 2020

Closed by #730

Thanks anyway, your work will be credited!

@MoOx MoOx closed this

Nov 4, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@MoOx MoOx MoOx requested changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@celsobonutti @MoOx