SmallComfort / react-vue

Run Vue in React and React Native
MIT License
1.23k stars 63 forks source link

React Native without React and With VueJs #3

Open ansarizafar opened 7 years ago

ansarizafar commented 7 years ago

It Would be great If we could use Reactnative without having to use react. Will it be possible in near future?

SmallComfort commented 7 years ago

Hello! You can use react-vue-native-scripts to run Vue in ReactNative. All of your code would be written by Vue, This is a Hacker News demo.

ansarizafar commented 7 years ago

I know that and I have seen the demo. react-vue-native-scripts is converting vue components to react. We still need react. Is it possible to remove react completely?

rickbolton commented 7 years ago

@ansarizafar not sure what you're meaning. React Native without React isn't React Native at all haha. The way this works is to convert .vue into .js that React Native can compile so there isn't a magic remove all react unfortunately. I guess you'll have to wait for a Vue equivalent which I'm sure will happen eventually such as Weex