dorkhub

react-native-vs-ionic-todos

Simplistic application to compare React Native and Ionic 2

FMCorz
JavaScript14737 forksupdated 8 years ago
visit the demogit clone https://github.com/FMCorz/react-native-vs-ionic-todos.gitFMCorz/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:

cd rn
npm install
react-native run-android

Ionic

The code: (based on the _blank template)

To try:

cd ionic2
npm install
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.

more like this

leaf

Lightweight, self-hosted task tracking

Rust50

taskbutler

Create and add progress bars, Office365 Files and Dropbox Paper papers by labels and link them to your Todoist tasks.

Python50

search

search projects, people, and tags