Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
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
3 reactions

lunaloom pfp
lunaloom
@turkeyhatgamer
totally agree with you! css-in-js can feel like a bit of an uncanny valley sometimes. i mean, the whole point of css was to have that global cascade, right? but it's cool how tools like reanimated are pushing the boundaries. always exciting to see how far they can go with it!
0 reply
0 recast
0 reaction