Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Payal Mittal
14 articles
A Guide To Server-Side Rendering In React
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 MoreWhat you need to know about React Server Component?
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 MoreWhat is REST API in React.js?
React.js is not just about client-side rendering. It also offers REST APIs for server-side rendering and use cases like web crawlers, offline data storage, etc. REST is a type of API that provides a way for web and mobile applications to communicate with each other. It is an out-of-the-box service that can be used in any web application built on React.js. It is also a top choice for developers looking to make their React application scalable as it provides high availability, low latency, and consumes less bandwidth over the network. The goal of this article is to provide a brief ...
Read MoreWhat’s new in React Query 3?
React Query 3 is a new library by the React team. It's a query language that helps developers to declaratively specify the data requirements of their React application. It’s the third iteration of React Query, which was originally developed by Facebook. It’s now maintained by the community and its contributors. It allows you to query and mutate data in a declarative way. It includes features like automatic caching and stale data handling, which can help take your React apps to the next level. If you're looking for a fast, lightweight, and easy-to-use library, React Query is definitely worth considering. ...
Read MoreWhat is Metro in React-Native?
Whenever anyone tries to run the react native platform, an extensive compilation of JavaScript files gets arranged together in a single file. This compilation is done through a bundler called metro. Metro is a well-accepted Java script bundler with many options, including an entry file that provides you with a Java script file along with all the previous files. Let us look at the functionalities of the metro bundler and how it has been supporting the react native framework - How Does Metro Help in React Native Development? One essential feature of the metro is the sub-second reload ...
Read MoreWhat is Hookrouter?
Routing is not a feature that comes standard with React.js and hookrouter is the modern approach that simplifies navigation features within react components. React hooks provide the foundation of the hook-router module. It is feature-rich and simple enough for fresher developers to get started. In this section, we will be going over what React.js Routing is and how Hooks routing alternative useRoutes() works in React. What is Routing in React? Routing is a way to define user navigation through a set of pages available in an application. To do this, it will create static HTML views that ...
Read MoreWhat are Promises in React.js?
In React, there are various ways to work with asynchronous data, but using Promises is one of the most popular ones. A Promise is an object that represents an asynchronous operation. It stands for a value that will be resolved in the future, in other words. In this post, we'll examine the significance of promises, their underlying API, and some common pitfalls to watch out for while utilizing them. We'll also give a simple illustration of how to manage asynchronous programming using promises. You will know more about using Promises in React.js at the conclusion of this post and ...
Read MoreIntroduction to Remotion - Create Animation and Videos with React.js
In many ways, people utilize videos to enhance their digital encounters, yet what if someone informed you that you may now make videos on the internet? This article covers Remotion, a library collection that lays the groundwork for automatic program-producing films with React. Remotion is a freshly released package that allows React to make films and visual effects. Several web developers found it intriguing because it gives them more freedom to produce their films and animation. Overview about Remotion Your favorite web technologies, including JavaScript, HTML, TypeScript, CSS, etc., may be used to make animations and films utilizing ...
Read MoreComparison between different React Native UI libraries
Facebook developed React Native to build natively compiled cross-platform apps. It is most popular among mobile app developers who want to create applications that can be used on Android and iOS devices. React Native started to emerge as it gained a growing community's trust, including premade UI components and React Native libraries. The creation of Uber Eats, Instagram, Pinterest, Airbnb, Skype, etc made use of their React Native platform and all of them are self-explanatory. React Native UI Element React Native is an open-source Javascript library that helps developers create mobile applications for both iOS and Android platforms. Over 70% ...
Read MoreWhat is the Arrow Function in ReactJS?
React is a popular JavaScript library used to build user interface components. One of the features of React is that it allows you to use arrow functions to define React components. You may now create components using both the standard JavaScript function and the arrow function syntax, thanks to the release of ES6 arrow function syntax. Lets discuss what arrow functions are and why you should use them in your ReactJS code − About Arrow Functions The arrow function is a new feature of ES6, introduced in ReactJS 16. It allows the developer to create a function that has lexical ...
Read More