News for hackers. Stuff that matters.
Re:React Native: A year in review by amelius on Monday April 18, 2016 @05:30AM (#11518665)
When will React support full CSS?
Re:React Native: A year in review by GoldenMonkey on Monday April 18, 2016 @02:01PM (#11521883)
They purposely decided not to use CSS for react native, by design.

https://facebook.github.io/react-native/docs/style.html#cont...

Re:React Native: A year in review by caltrain on Monday April 18, 2016 @02:27PM (#11522079)
Quick example why its not supported: Lets say you are building an instagram style app. You need to render an image from network and won't tell the app its vertical height(Just like you would do in a webapp)

The app has to judge the image height after the image is finished loading from the network. If the second image loads faster than the first image, then UI has to push the second image further below to make space for the first image. This will make the app look jittery.

Re:React Native: A year in review by dbbk on Monday April 18, 2016 @02:44PM (#11522193)
What has that got to do with not supporting CSS?