What is the relevance of StyleSheet.create in React Native?

Moderator: Reach-Native-gp

Post Reply
Anisha Sharma
Posts: 11
Joined: Fri May 08, 2020 12:30 pm

What is the relevance of StyleSheet.create in React Native?

Post by Anisha Sharma »

StyleSheet.create is a function used in React Native.

The relevance of it in React Native is that:
  • Validation of Keys
  • Register those keys to React
  • Using the specified object, StyleSheet creates style reference
  • Will allow the developer to send the style through the bridge only once.

Post Reply