• Home
  • Open Source
  • Web development
  • Business
  • About me

react-native

4 post

web-development

React Native imports: The rule of 5.

I'm going to talk about a metric that I've created that serves me as a warning signal to detect if a react component is doing too much stuff.
27-03-2018react-nativereactjavascript
web-development

Higher Order Components - HOC - in React Native

Higher Order Components is a useful pattern that has a lot of uses to make your React code easy to read and maintain. In this post I'm going to explain how to use Higher Order Components, HOC from now on, to keep your code DRY.
18-03-2018javascriptreact-nativereact
web-development

Apollo Graphql PromiseRejectionHandledWarning: Promise rejection was handled asynchronously

This weird error that took me a while to debug and in the end it had a very simple solution.TL;DRError message: PromiseRejectionHandledWarning: Promise rejection was handled asynchronouslySolution: I was sending an integer when a param of type string was expected.
25-02-2018react-nativegraphqlapollo
web-development

React native with Apollo Graphql works on iOS but not on Android

My React Native app was working without problems on iOS but when I started expo to run the app on my android phone I had this weird graphql error: Unhandled (in react-apollo:Apollo )
24-02-2018react-nativeapollographql
Go to Previous Page
Go to Next Page