Giter VIP home page Giter VIP logo

mauriciolaser / journal-updated Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robertovg/journal-updated

0.0 1.0 0.0 684 KB

This is a continuation and updated version of the output from the levelUpTuts tutorial called Level 2 React Native With Graphql. I'm writing in my personal blog about this project where you can find more details.

Home Page: https://robertovg.com/blog/next-steps-after-level-2-react-native-with-graphql-part1

JavaScript 100.00%

journal-updated's Introduction

Intro

This is a continuation and updated version of the output from the levelUpTuts tutorial called Level 2 React Native With Graphql.

Basically here you will find the next steps, as far as I understand, I would follow to move the output of this tutorial to be used as a real application with both, expo and react-native-scripts, and additional little improvements I wanted to put in practice with this good and complete exercise as code base, after having finished the Scott Tolinski tutorial.

So if you feel like there are some parts missing before feeling ready to write real React Native Applications, maybe here you could get some tips to improve.

I'm writing in my personal blog about this project where you can find more details.

Development Usage

npm install install; npm start

Keeping it published

And to publish on expo platform just

npm install -g exp
exp publish

TODOs

  • add .eslint and right .babel
  • Fixing lint problems (translating stateless components to pure function, adding PropTypes to props, avoiding duplicated code, removing unused import,refactoring components...) --> from $ ./node_modules/.bin/eslint ./components
  • Moving the graphcool url to a configurable property so we don't have to publish in the code. Resolved with react-native-dotenv
  • If we update the title, we don't have it correctly updated, apparently it was cause by problems with goBack issues with the 1.x react-navigation, they fixed with the new react-navigation-2.0-rc, so updating and changing a bit the goBack to a navigate, do the work
  • fix and align the loading
  • fix some styles in smaller IPhone
  • have the possibility of hiding the keyboard when clicking out of the Post textarea. Using keyboardShouldPersistTaps from ScrollView.
  • Change color of indicators form IPhone ( network, time, etc)
  • Fix the problem with Nested React Native projects result in TypeError: undefined is not an object (evaluating self.fetch) published in react-native official github
  • Using RN version of the presets for .babelrc to avoid problems with babel and polyfill and other weird errors
  • Using expo react-native branch to avoid expo problem
  • Adding icon and splash for the app from expo
  • Show errors, connecting problems, login, create user, etc.
  • Add validation to the login form so we don't allow to register with empty email / password
  • Moving create / update post to async / await API style.
  • Possibility to be able to delete posts
  • Change styles for something like styled-components
  • Let's add some animations with something like pose
  • Add unit test specific for graphql

journal-updated's People

Contributors

robertovg avatar

Watchers

James Cloos avatar

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.