RSSAmplifier

Joseph Goksu — Senior Platform Engineer · Apr 4, 2020

What's New in React Native v0.62.0!

0
Sign in to vote or save

Joseph Goksu · Joseph Goksu

Flipper by default

Flipper is a developer tool for debugging mobile apps. It’s popular in the Android and iOS communities, and in this release we’ve enabled support by default for new and existing React Native apps.

Check Flipper

New dark mode features

· Added a new Appearance module to provide access to the user's appearance preferences, such as their preferred color scheme (light or dark).

const colorScheme = Appearance.getColorScheme()

if (colorScheme === 'dark') {
  // Use dark color scheme
}

· Added a hook to subscribe to state updates to the users preferences:

import { Text, useColorScheme } from 'react-native'

const MyComponent = () => {
  const colorScheme = useColorScheme()
  return <Text>useColorScheme(): {colorScheme}</Text>
}

Moving Apple TV to react-native-tvos

· Started to remove Apple TV specific code from core.

☂️ Lean Core → Feb 6, 2019


Accessibility improvements

We’ve made improvements to accessibility including adding accessibilityValue, missing props on Touchables, onSlidingComplete accessibility events, and changing the default role of Switch component from "button" to "switch".

References:

Get notified of new posts

I write about Go, platform engineering, and building products solo. Subscribe via RSS to get new posts in your reader.

Subscribe via RSS

Read the original on josephgoksu.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.