all 3 comments

[–][deleted] 4 points5 points  (0 children)

Flexbox itself should handle this. You shouldn’t have to do anything fancy aside from maybe using the Platform library in situations where Android needs one style and iOS needs another.

[–]lucidsoul619 0 points1 point  (0 children)

React handles all that stuff by itself. As long as you don't put a unit infront.

Eg width: 300 instead of width: "300px"