项目作者: FMCorz

项目描述 :
Simplistic application to compare React Native and Ionic 2
高级语言: JavaScript
项目地址: git://github.com/FMCorz/react-native-vs-ionic-todos.git
创建时间: 2016-08-07T12:31:27Z
项目社区:https://github.com/FMCorz/react-native-vs-ionic-todos

开源协议:

下载


React Native vs. Ionic 2

Here is a (very) simplistic non-persistent TODO app implemented in both Ionic 2 and React Native for the sake of comparing both frameworks.

React Native

The code is here: rn/todoapp.js.

To try:

  1. cd rn
  2. npm install
  3. react-native run-android

Ionic

The code: (based on the _blank template)

To try:

  1. cd ionic2
  2. npm install
  3. ionic serve

Note: In the limited amount of time spent on this I couldn’t figure out how to properly style the “Hide done” toggle.

Code quality

The code can, and should, be better. Only one component was used in React Native to contain most of the code in one place. The same goes with Ionic, although there may be more absurdities there as I’m not as familiar with that framework. Feel free to submit a pull request if I’ve made ridiculous mistakes.

License

Do whatever you want.