Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by nsonha on Friday December 30, 2022 @12:16PM
(#34187128)
Is this the same as using react-native-web, which in turn was implemented with styled-components cross platform?
[ Parent
| on HN ]
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by redbar0n on Friday December 30, 2022 @12:28PM
(#34187276)
You could think of it as using React Native Web (RNW), but better. Tamagui is using a trimmed down version of it called react-native-web-lite which is trimmed for bundle size and perfomance: https://www.npmjs.com/package/react-native-web-lite
RNW was independent of styled components, but you could use them together.
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by udfalkso on Friday December 30, 2022 @01:52PM
(#34188465)
Can I use styled components with Tamagui?
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by nwienert on Friday December 30, 2022 @04:00PM
(#34190022)
It’s more of a replacement for them, you could use them together during a transition to Tamagui though.
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by fernandorojo on Friday December 30, 2022 @01:24PM
(#34188071)
Somewhat, but it's better. It's like forking React Native Web and solving all of its styling shortcomings.
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by p2hari on Friday December 30, 2022 @02:15PM
(#34188749)
Hey Fernando, thanks for all your work on dripsy, moti and solito. So nice to hear things from you about this library.
Re:Tamagui 1.0 – Cross-platform React apps in ½ the time wit...
by fernandorojo on Friday December 30, 2022 @02:52PM
(#34189213)
Of course, happy it's helpful.