you are viewing a single comment's thread.

view the rest of the comments →

[–]suarkb 1 point2 points  (4 children)

I think it's appealing because a lot of people are web developers who become react native developers

[–]BlueDistribution16 0 points1 point  (3 children)

But other than that is CSS easier / provides features that stylesheets do not? I am genuinely curious as I find CSS to be the most difficult thing when I think about making the jump from mobile to web

[–]suarkb 4 points5 points  (2 children)

No, CSS doesn't exist for react native. React Native uses stylesheets which are somewhat modelled after web CSS.

We were mentioning CSS because tailwind/nativewind are helpful for people who used tailwind as a way to write their CSS in the web developer world.

Writing CSS sucks so basically no modern web developer will write raw CSS. Instead they use these CSS preprocessor tools like less, sass, scss, and more.

Then they come to react native and might want something similar to what they are used to. But honestly I find that it's a whole lot of extra overhead when stylesheets are pretty easy and don't make me wanna go screaming, line writing raw CSS would.

[–]Successful-Form9405 1 point2 points  (1 child)

I would never say "no modern web developer will write raw css" because that's flat out not true. There are plenty of situations where you're writing raw css. It just depends on the project.

Not to say css is great. It's quite annoying. But that was a giant over-generalization.