Posts for React

React is a declarative, efficient, and flexible JavaScript library for building user interfaces. React is based on the concept of DOM manipulation is a costly operation and ought to be minimized.

How to format dates in ReactJS

In this article, you are going to learn about how to format dates in ReactJS. ReactJS is a JavaScript library that is used in the front-end to better the UI experience. With react you can do many interesting things. The most interesting part is that you can write JavaScript code here easily. You already know […]

January 30, 2022 in Code examples & React
Deven
Deven wrote

Building a blogging platform Using React, GraphQL, And GraphCMS

In this article, I am going to explore using GraphCMS, React.js, and GraphQL to develop a prototype CRUD (Create, Read, Update, Delete) application by leveraging the Content and Mutation APIS — the two API categories exposed by the GraphCMS software. Traditionally, content management systems have been bulky, all-in-one software solutions for effectively creating, managing, storing, […]

April 12, 2021 in GraphQl & React & Tutorials
Deven
Deven wrote

Build a network monitoring app using React

In this tutorial, we will learn to build a simple network monitoring app using React Hooks. Use case Sometime while using our React application a user connects with a network with no data connection. In that case your app must show the user network connection status. Pre-requisite Basic understanding of JavaScript ES6 Basic understanding of […]

March 7, 2021 in React & Tutorials

Complete React Datepicker Tutorial with Examples

In this tutorial, you will learn how to use React datepicker in your React project. You will learn from a basic example to a specific use case by creating a hotel booking component using React-Datepicker. React-datepicker is a simple and reusable component for React. This component currently has around 314 contributors with more than 600.000 […]

March 1, 2021 in React & Tutorials
Deven
Deven wrote

State in React – explained

In React State of a component is an object that holds some information that may change over the lifetime of the component. We should always try to make our state in React as simple as possible and minimize the number of stateful components. Let’s create an user component with message state, State is similar to props, […]

December 30, 2020 in React & Snippets
Deven
Deven wrote

React pure component – explained

In JavaScript, a pure function will always return the same result in other words Its return value is the same for the same arguments. In React the memo function is used to create React pure components. A pure component in React is a component that always renders the same output, given the same arguments. Let’s […]

December 28, 2020 in Code examples & React

Build Progressive Web Application (PWA) with React

In this article, we will create a React PWA that has reusable React components and styling using Create React App and styled-components. The application will use data fetched from an external REST API. Pre-requisite Basic understanding of JavaScript ES6 Basic understanding of HTML and CSS Basic understanding of react Have Nodejs installed on your machine […]

September 16, 2020 in React & Tutorials