Hacker News new | past | comments | ask | show | jobs | submit login

Interesting. What warrants a for CSS Modules co-location? Is it just because you can't write it in the same JS file as your component?

I'm also super duper skeptical of style interoperability between React Native and the browser. From experience styling in React Native suffers from the uncanny valley - its so close to browser CSS, but ends up failing in rather significant ways (mainly layout) that would prevent style reuse.




Yes exactly.

It's less about interoperability and more about using the same styling system for_all_ parts of your application. Styling on ReactNative is different enough to have to be careful when doing it, though theoretically it's very possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: