Found 217 Articles for Javascript Library

What are Hooks in React?

Payal Mittal
Updated on 07-Nov-2022 09:26:21

3K+ Views

React Hooks open up a completely new approach to constructing functional components, enabling us to include capabilities like stateful logic that are only available for class components. React mostly makes use of its built−in hooks, useState and useEffect Hooks, to do this. These hooks j In this article, we will go over what hooks are and how they can be used to create applications with React. We will also see how they simplify everyday development workflows. All About React Hooks As quoted by team React− “React Hooks are a new feature of React.js that makes it possible to use ... Read More

How does React work?

Payal Mittal
Updated on 07-Nov-2022 09:30:04

285 Views

The front−end development ecosystem is constantly changing. It is getting harder for business owners to choose the finest library or framework from the many available since new tools are released daily. Speaking of frontend, React.js have been setting records in the web development industry for some time and doing splendidly despite having huge competition. Why is it so? How is it that react has been able to rule the IT industry while other libraries are still struggling? We’ll get all these answers in this blog. So, let’s dive in − What is React.js? React is an open−source, front−end JavaScript library, ... Read More

A Guide To Server-Side Rendering In React

Payal Mittal
Updated on 26-Oct-2023 03:36:11

19K+ Views

Server−side rendering has been around for a while now. It was first introduced in the early 2000s and has been used by many websites since then. The idea behind this technique is to pre−render HTML pages on a server and send them back to the client's browser as they request them. With server-side rendering (SSR), the page is rendered on the server. This ensures that the page is available to users even before it loads on their browser. We’ll get to know more about SSR in this article − How Server-side Rendering (SSR) Works? It is the process of rendering ... Read More

How to Create a Color Picker in ReactJS?

Mayank Agarwal
Updated on 25-Apr-2022 12:34:09

976 Views

In this article, we are going to explore how to create and use a Color Picker in ReactJS. A Color Picker can be defined as a graphical user interface widget that is usually found within some graphics software or used online to select/choose colors and sometimes to create new color themes as well.React is a free and open-source front-end JavaScript Library that is used for building user interfaces or UI components. It is maintained by Facebook and a community of individual contributors who keep it updated.ApproachWe can run through the following steps to create a color picker −First we would ... Read More

ReactJS: How to Create a Pie Chart using Recharts?

Mayank Agarwal
Updated on 25-Apr-2022 11:34:47

7K+ Views

In this article, are going to explore the Rechart JS Library and implement it in a React application to watch how they are used. Rechart Libraries are specifically used for creating different types of charts over the React Application. Charts that can be build using this library are Line Charts, Bar Charts, Pie Charts, etc.In this tutorial we will be creating a Pie Chart using the library and a set of data entry points. Based upon this data the chart will be formed that will define the slices with the pie element. This will have the data property that will ... Read More

How to Create an Area chart using Recharts in ReactJS?

Mayank Agarwal
Updated on 21-Apr-2022 13:26:19

1K+ Views

In this article, are going to explore the Rechart JS Library and implement it in a React application to watch how they are used. Rechart Libraries are specifically used for creating different types of charts over the React Application. Charts that can be built using this library are Line Charts, Bar Charts, Pie Charts, Area Charts, etc.In this tutorial, we will be creating an Area Chart with the required data points and displaying the same to the user. We will define the slices of the Area Chart by using the data property that is defined by the data from the ... Read More

Create a Scatter Chart using Recharts in ReactJS

Mayank Agarwal
Updated on 21-Apr-2022 12:26:35

1K+ Views

In this article, are going to explore the Rechart JS Library and implement it in a React application to watch how they are used. Rechart Libraries are specifically used for creating different types of charts over the React Application. Charts that can be built using this library are Line Charts, Bar Charts, Pie Charts, Scatter Charts, etc.In this tutorial, we will create a Scatter Chart with the required data points and display the same to the user. The dataset for the scatter chart will have x and y coordinate details. Then with the help of a Cartesian product, we will ... Read More

Adding an animated loader and splash screen in a React Native app

Ath Tripathi
Updated on 29-Sep-2021 09:48:24

478 Views

In this article, we will see how to implement a Lottie animation in a React Native app. Lottie is an open source animation file format that’s tiny, high quality, interactive, and can be manipulated at runtime. Lottie animations are mainly used for loader screen or as a start screen.So, let's add a Lottie animation to our React Native mobile app.ExampleGo to the official Lottie animation website and download Lottie JSON.Link to animation that I am going to use −https://lottiefiles.com/74546-character-02# /Name the JSON file "myloader.json" and keep it at the same level as App.js.Now install the lottie-react-native packagenpm i --save lottie-react-nativeLottie ... Read More

Creating a QR Code of a link in React JS

Ath Tripathi
Updated on 29-Sep-2021 09:44:13

2K+ Views

In this article, we will see how to create a QR code of a link in React JS. A QR code is a two-dimensional barcode that is readable on smartphones. You must have seen QR codes on websites that you can scan which redirects you to a page. For example, to access WhatsApp from your laptop, you can go to "web.whatsapp.com" and then open WhatsApp on your phone and scan the given QR code.ExampleFirst create a React project −npx create-react-app tutorialpurposeGo to the project directory −cd tutorialpurposeInstall the qrcode.react package −npm i --save qrcode.reactThis library is going to help us ... Read More

Creating a Sky shader in React using React-Three-Fiber

Ath Tripathi
Updated on 29-Sep-2021 09:32:17

1K+ Views

In this article, we will see how to create a Sky shader in React JS using React-Three-Fiber. It will appear to look like original sky and it is really a great effect. Three.js is a cross-browser JavaScript library and application programming interface used to create and display animated 3D computer graphics in a web browser using WebGLExampleFirst install the following packages −npm i --save @react-three/fiber npm i --save @react-three/dreireact-three/fiber will be used as an intermediate between threejs and React.js and drei will be used to implement premade optimizable sky effect in it.Now, insert the following piece of code in App.js ... Read More

Advertisements