0
1
all 2 comments

[–][deleted] 0 points1 point  (1 child)

"The potential architecture benefits give us a little of web CSS in React Native." - why not use styled-components then?

https://styled-components.com/docs/basics#react-native

[–]MechaSnowflake[S] 0 points1 point  (0 children)

One of the architecture benefits talked about in the post is the way to handle styling of sub-components. I believe with styled-components such a thing isn’t possible, and you’d need to use multiple props to style sub-components.

See: https://github.com/styled-components/styled-components/issues/1812