Image for post
Image for post

Software testing plays a crucial role in the software development process. I like this quote below by the great Aristotle, which is applicable to us in the modern world as software developers.

“Quality is not an act, it is a habit” — Aristotle

Overlooking testing is a common problem that we need to overcome intentionally as developers. In this article I am going to give you a brief overview about Cypress, a super fast and intuitive way to end to end test your web applications. …


Image for post
Image for post

You want to develop your mobile app, and want to use a cross-platform mobile framework. You have heard about React Native, but not sure if it is the right choice for you. In this post, I am going to try to answer the frequently asked newbie React Native questions. I have been developing React Native apps for the last few years and have across several questions from the community. This is a collection of questions and answers that will help you decide if React Native is right for you!

1. What programming language does React Native use?

Answer: JavaScript

React Native is a library that uses JavaScript to develop native mobile apps. It also uses the popular web library React. …


Image for post
Image for post

What is Introspection in GraphQL

GraphQL stands out with its strong type system. Because of the strong typed system, GraphQL is able to provide an introspection system to query the schema. The introspection system in GraphQL provides a way for clients to discover the resources that are available in a GraphQL schema. The introspection system is a feather in the hat for GraphQL. It has plenty of uses and we will see some of them below.

Why is Introspection Useful?

Image for post
Image for post

Provides clients a deep view of the schema

Through introspection queries, the client can get a complete view of the resources in the GraphQL schema. This can save the client tons of time going back and forth with documentation. …


Image for post
Image for post

Hi Everyone!

I gave a talk for egghead.io few months back on lessons I have learned over the years of building React Native.

React Native apps build cross platform apps for both iOS and Android. My talk will be interesting for those who are venturing into this mobile space either from the web development background, or other mobile development experience like native development. The talk will help them see an overview of all the options they have to build scalable React Native apps.

This talk is free and you can watch it from the link below:

I hope you enjoyed this talk. See you again with more articles and talks. If you liked this talk, don’t forget to share it with your network. You can follow me on twitter @AdhithiRavi for more updates or if you have any questions.


GraphQL
GraphQL

Hello friends!

Hope everyone is hanging there during this pandemic! The last few months have been quite rough for the entire world and for me as well.

After many months of hard-work and hangups, I have finally released my next course on GraphQL. This is an intermediate level course and uses a React application for demo throughout the course.

Course Trailer

Background

Traditional REST APIs are not always focused on the client. GraphQL is an alternative where the client has more power to ask for what they want and get exactly that back in a single call. In this course, Consuming a GraphQL API with Apollo Client and React, you’ll learn to consume and interact with GraphQL APIs from your frontend React application. First, you’ll explore writing queries to retrieve data from the GraphQL API. Next, you’ll learn more about the GraphQL Schema using API introspection techniques. Finally, you’ll learn how to write mutations to modify and update the GraphQL data. …


Image for post
Image for post
Photo by Rodion Kutsaev on Unsplash

Hooks work the same way in React Native as it does in React. And React Native can use all of the React Hooks like useState, useEffect, useContext, etc. that are listed in React Hooks documentation.

In this post, we are going to go over, in specific the hooks built for React Native. Most of these are part of the react-native-community repo and some are available out of the box with React Native.

1. useKeyboard Hook

This is a very useful hook if your application contains TextInput components and forms, with the keyboard popping up often. Without this hook, we would need to use Keyboard event listeners to know when the keyboard is shown or hidden. …


Image for post
Image for post

Are you thinking of using React Native to build cross-platform apps? When you set out on a path to build apps using React Native, you come across the question, should I use Expo or not?

React Native Background

Before we talk about Expo, here is a quick background on React Native.

I have been developing React Native apps for the last four years and I must say that things have evolved drastically in React Native, and Expo has a big role towards its success as well.

React Native is a cross-platform library that builds native mobile apps (iOS and Android) using JavaScript and React. The reason owing to its success is the fact that it uses the popular language JavaScript, in combination with the most sort after web library React to build mobile apps natively. …


Image for post
Image for post

If you are a React developer, and haven’t learned about React hooks yet, it is the perfect time to start learning now. In this post, we are specifically going to learn about the useContext Hook. In the previous posts, we have covered some other hooks. Make sure to read them before you get started with this post.

Learn useState Hook in React

Learn useReducer Hook in React

Note: If you are new to React, I would recommend learning Hooks first, and then learn older way of doing things if necessary.

‘Hooks are functions that let you “hook into” React state and lifecycle features from function component. They do not work within a class. They let you use React without a class.’ …


Image for post
Image for post
Photo by Berkay Gumustekin on Unsplash

If you are a React developer, and haven’t learned about React hooks yet, it is the perfect time to start learning now. In this post, we are specifically going to learn about the useReducer Hook. In the previous post we have covered the useState hook. Make sure to read it before you get started with this post.

Learn useState Hook in React

Note: If you are new to React, I would recommend learning Hooks first, and then learn older way of doing things if necessary.

‘Hooks are functions that let you “hook into” React state and lifecycle features from function component. They do not work within a class. They let you use React without a class.’ …


Image for post
Image for post

GraphQL is a query language that provides an efficient, powerful and flexible approach to developing web APIs.

GraphQL has gained immense popularity in the last few years with many Fortune 500 companies using them for their product development. In this talk, we will learn the core concepts of the GraphQL Query Language.

You will learn about Types, Queries and Mutations, and how they are used to work with your API data. I will be showcasing these concepts using the GitHub’s Public GraphQL API.

You can follow along, and have fun learning the core concepts of the GraphQL Query Language. The purpose of this talk, is to spark your interest in GraphQL and understand the fundamental concepts of the GraphQL Query Language and…

About

Adhithi Ravichandran

Software Consultant, Author, Speaker, React Native|React|GraphQL Dev & Indian Classical Musician http://adhithiravichandran.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store