Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.06 KB

Notes.md

File metadata and controls

18 lines (12 loc) · 1.06 KB

Thoughts

We can't really use html tags inside native like we do in react so we have components like View and Text

The most fundamental component for building a UI, View is a container that supports layout with flexbox, style, some touch handling, and accessibility controls. View maps directly to the native view equivalent on whatever platform React Native is running on, whether that is a UIView, <div>, android.view, etc.

A React component for displaying text.

Text supports nesting, styling, and touch handling.

Facts

anything you can do with react dom can be done with native

Thoughts

it kinda bugs me that we can't give dimensions like 10px to something it's just 10 read this but its way better and we shouldn't use px anyway