DEV Community

Discussion on: I built my first React Native app

Collapse
 
andresefr24 profile image
andresefr24

I really recommend to use styled components. Makes styling a walk in the park, and with its theme provider you con centralize every major style statement. The syntax is good ol' css and it's plug n' play.
Give it a shot.
If you wanna get more experimental with it, i suggest that you make the provided theme a state that can be managed.

Collapse
 
kayis profile image
K

I use glamorous-native, but I think for the next project I would stop using styling libraries all together.

I just don't have the feeling they add much value.

Collapse
 
zerosand1s profile image
Harshal Gangurde

Thanks for the recommendation, @andresefr24 . I will surely check out styled components.

Collapse
 
islamgamal88 profile image
Islam Gamal

Could you please mention a good tutorial to learn styled components? And if you think it's better than css modules?

Collapse
 
garethbrown82 profile image
Gareth Brown

I would also recommend styled components. The getting started page on the styled components home page is a good place to start! styled-components.com/docs/basics#...

Thread Thread
 
zerosand1s profile image
Harshal Gangurde

I appreciate your recommendation Gareth. Thanks.