Better Programming

Advice for programmers.

Follow publication

Member-only story

What’s New in React Native 0.63?

Joan Saum
Better Programming
Published in
2 min readMay 18, 2020
Photo by Rahul Chakraborty on Unsplash

React Native 0.63 RC0 was released a few weeks ago and brings us some new features that are really exciting.

Native Colors

There are two new things here: PlatformColor and DynamicColor.

PlatformColor allows users to use the native colors of the device from either iOS or Android.

DynamicColor allows users to configure colors depending on the appearance mode of the mobile (light mode/dark mode).

Here is an example of how to use it that combines both:

<View
style={{
backgroundColor: DynamicColorIOS({
light: PlatformColor("systemBlueColor"),
dark: PlatformColor("systemRedColor"),
}),
}}
/>

LogBox

LogBox is enabled since React Native 0.62 is in beta mode. You can enable it by adding require('react-native').unstable_enableLogBox()

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Joan Saum
Joan Saum

Written by Joan Saum

FullStack developer in Javascript | Always looking to learn

Write a response