- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 160 Articles for React JS

Updated on 16-Feb-2023 15:13:42
The date picker allows users of the application to pick a date. If we take data in the string format from the users, they can make a mistake while entering the date and enter the wrong format of the date. So, the best way to take a correct date input from the users is using the date picker. In this tutorial, we will use various libraries of ReactJS and create a date picker allowing users to pick any date, month, year, or decade. Use the ‘react-date-picker’ NPM package The react provides various libraries and npm packages to manipulate the date ... Read More 
Updated on 16-Feb-2023 15:05:48
Using the Material UI library, we will learn to create a Dark Mode in ReactJS. The Material UI is the external react library that provides the designed react components that we can directly use in our react project by importing from the library. In the world, most users like dark mode, and only some love light mode. The dark mode helps us decrease visitors' eye strain and look more luxurious. So, we should allow users to choose the either dark or light mode according to their preference. In vanilla JavaScript or JQuery, we can create dark and light modes by ... Read More 
Updated on 13-Feb-2023 17:45:19
Tp add a Video Player in ReactJS, we first need to install a video player library such as 'react-player' or 'react-video-js'. Next, we import the library and use the designated component in our JSX code. Lastly, we provide the necessary props such as the video source and any customization options to the component. Let us first understand what ReactJS is. React is a JavaScript library for building user interfaces. It makes it easy to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render the right components when your data changes. ... Read More 
Updated on 13-Feb-2023 17:35:07
We first need to install the react-bootstrap and bootswatch packages using npm. Next, we import the desired theme from bootswatch and apply it to our React components using the 'import' and 'className' properties. Lastly, we can easily switch between themes by simply changing the imported theme. Let us first understand what Bootswatch is. What is Bootswatch? Bootswatch is a collection of free and open-source themes for Bootstrap, a popular front-end development framework. The themes are available in various styles, such as material design, flat, and dark mode. Bootswatch themes are easy to install and customize, allowing developers to quickly ... Read More 
Updated on 13-Feb-2023 17:29:14
We can add a tag input in NextJS by creating a new component for the input field and using the onChange event to handle the inputted tags. We can also use the state to store the tags and display them as they are inputted. Finally, we can add a button or function to submit the final tag list. Let us first understand what is ReactJS and Tag Input. ReactJS React is a JavaScript library for building user interfaces. It makes it easy to create interactive UIs. Design simple views for each state in your application, and React will efficiently update ... Read More 
Updated on 13-Feb-2023 17:18:10
We can add a stateful component without using a constructor class by using the useState hook. This hook allows us to create and update state within our component without the need for a constructor. To use this hook, we simply call the useState function and pass in our initial state as an argument. There are primarily two ways of creating React Components − Using JS classes. Using functional components. Before react v16 there was no way of adding state to functional components. But since the inception of React Hooks we can write stateful functional components as well. A ... Read More 
Updated on 06-Feb-2023 12:12:18
We can add code input in React.js by creating a component that renders an input field and handles user input. To do this, we can use the built-in React hooks such as useState to manage the input value and handle changes. Additionally, we can also use event handlers to handle user input and update the input value accordingly. Let us first understand what ReactJS and analyze the use of React Hook “useState” as it will be used inside the code. ReactJS React is a JavaScript library for building user interfaces. It makes it easy to create interactive UIs. Design simple ... Read More 
Updated on 06-Feb-2023 11:05:08
React Native's Fabric architecture is a performance-focused update to the traditional React architecture. It uses asynchronous rendering and a new reconciliation algorithm to improve app performance and reduce the time it takes to update the UI. Fabric also allows for more efficient use of memory and better handling of complex animations and interactions. The Problem In the current architecture, all the UI operations are handled by a sequence of cross-bridge steps. There are four core sections in the current architecture − The React code written by the developer (which is very similar to its web counterpart), The JavaScript that ... Read More 
Updated on 08-Dec-2022 06:15:01
Reactjs is an open source javascript library, used in web development to build interactive pages in websites. Reactjs provides user friendly, declarative, and precise. Components Components are individualistic and reusable bits of code in react js. It helps to create separate files for our class and function. In general components are two types− class components and function components. Event Handlers Event handlers define what action to be performed when an event is fired or triggered. Events in react preceded with “on” for example onClick, and onFocus. Event handler in react is just like DOM in HTML, react has also same handler ... Read More 
Updated on 07-Dec-2022 11:56:59
Developers frequently have to choose between performance and SEO while creating conventional client-side-only React apps. Server components give developers the ability to utilize the server infrastructure more effectively and, thus, by default, attain excellent performance. By combining the most beneficial aspects of client-side interaction and server-side rendering, React Server Components enable programmers to create apps that are easy to create and maintain, and they can be shared across different projects. In this article, we'll take a look at what React Server Components are and how they can be used to create isomorphic applications. What Are React Server ... Read More Advertisements