|
|
|
|
|
by jongold
3344 days ago
|
|
If we can figure a way to translate React DOM to React Native-style components then this will be doable. You could write a codemod that turned <div> into <View>, <h1-6> into <Text> etc, but there's complexity in standardizing layout systems & CSS properties too. React Native-style components provide the best chance of us using React as a truly universal platform. see https://github.com/airbnb/react-sketchapp/issues/37 & https://github.com/airbnb/react-sketchapp/issues/29#issuecom... for some more context If you have any ideas on solving I'd love to see them in GitHub so I don't lose track of them :) |
|