GithubHelp home page GithubHelp logo

fmcorz / react-native-vs-ionic-todos Goto Github PK

View Code? Open in Web Editor NEW
150.0 9.0 41.0 1.06 MB

Simplistic application to compare React Native and Ionic 2

Home Page: https://www.codementor.io/fmcorz/react-native-vs-ionic-du1087rsw

TypeScript 6.38% HTML 6.94% CSS 19.55% JavaScript 35.55% Python 7.12% Java 5.32% Objective-C 19.15%
react-native ionic2 todo

react-native-vs-ionic-todos's Introduction

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.

react-native-vs-ionic-todos's People

Contributors

eb-h avatar fmcorz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-vs-ionic-todos's Issues

Malformed package.json

Ran commands to run ionic as directed in the readme but the program failed to run

$ ionic serve
[ERROR] The package.json file seems malformed.

The base requirements include name and version which are both missing from the ionic package.json

ionic2 npm install fails on "angular/forms" not found

Running on Windows from the ionic2 directory npm install fails with the error

npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'angular/forms' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Windows_NT 10.0.15063
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd c:\code\temp\react-native-vs-ionic-todos\ionic2
npm ERR! node -v v5.10.0
npm ERR! npm -v 1.4.9
npm ERR! code E404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.