Content
@
0 reply
0 recast
0 reaction
Darryl Yeo 🛠️
@darrylyeo
100% CSS emulation in React Native ultimately hinges on what its underlying layout engine (Yoga) and its respective native dependencies are willing to support. Otherwise it’ll forever be stuck in this “CSS-in-JS” uncanny valley where CSS’ greatest strengths (the global cascade and property inheritance) are traded for extremely strict component-level scoping and lots of (IMO) quirky and complex tooling to work around it. Won’t stop folks like Reanimated from trying, which I think is very impressive it its own right! https://blog.swmansion.com/reanimated-4-is-new-but-also-very-familiar-b926dd59aa40 https://docs.swmansion.com/react-native-reanimated/docs/next/guides/supported-properties
1 reply
0 recast
2 reactions
Darryl Yeo 🛠️
@darrylyeo
s/o @samuellhuber.eth for sharing https://warpcast.com/samuellhuber.eth/0x58f94d04
1 reply
0 recast
2 reactions
Samuel ツ
@samuellhuber.eth
You‘ll only ever be happy if they use the JavaScript runtime to run svelte though ;)
1 reply
0 recast
1 reaction
Darryl Yeo 🛠️
@darrylyeo
Honestly, I’d settle for a “Solid.js Native” if CSS-like cascading and property inheritance were the default!
0 reply
0 recast
1 reaction