4 ms·
Two Reacts!?
by 2muchcoffeeman 9mo ago
Two Reacts!?
- exac 9mo agoAs someone who doesn't use React, there is React Native (for iOS & Android), and React (and that can be server-rendered or client-rendered).
- psnehanshu 9mo agoThere's also React Native Web
- underdeserver 9mo agoI'm sorry what
- rauli_ 9mo agoIn case you want to use React to make Web sites as well.
- afiori 9mo agoI find it is a good idea, it allows developers to cleanly define how to structure elements without random divs sneaking in. It requires a strong design system and it probably makes it harder to use some web APIs but those can be reasonable tradeoffs
- docmars 9mo agoSpeaking of which, is there a Tailwind CSS equivalent for React Native? I find passing `style` objects around (ala CSS Modules) to be a pain after using Tailwind for so long in web projects. EDIT: Found one that's going v5 soon, looks nice. https://www.nativewind.dev/ https://www.nativewind.dev/
- tcoff91 9mo agoTwitter is built in React Native Web
- atulvi 9mo agoThere was also react vr
- tcoff91 9mo agoclass components & function components.
- afiori 9mo agoThat is the least interesting divide in the react community
- o_m 9mo agoThe main divide now is client side React versus Server Components usually with a node.js backend