Found 8894 Articles for Front End Technology

What is Metro in React-Native?

Payal Mittal
Updated on 07-Dec-2022 11:47:34

2K+ Views

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 More

What is Hookrouter?

Payal Mittal
Updated on 07-Dec-2022 11:45:21

234 Views

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 More

What are Promises in React.js?

Payal Mittal
Updated on 07-Dec-2022 11:41:25

23K+ Views

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 More

Introduction to Remotion - Create Animation and Videos with React.js

Payal Mittal
Updated on 07-Dec-2022 11:37:50

404 Views

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 More

Difference between React.js and Angular.js

Payal Mittal
Updated on 07-Dec-2022 11:35:06

249 Views

There are a lot of options to choose from when it comes to front-end development frameworks. Two of the most popular options that stand out are React and Angular. Both frameworks have a lot to offer, but there are some key differences that could make one or the other a better fit for your project. React is a JavaScript library for building user interfaces. It was created by Facebook and is used by some of the biggest companies in the world, including Netflix and Airbnb. Angular is a TypeScript-based open-source web application framework led by Google. It's used by companies ... Read More

Comparison between different React Native UI libraries

Payal Mittal
Updated on 07-Dec-2022 11:32:25

1K+ Views

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 More

Why split the <script> tag when writing it with document.write()?

Shubham Vora
Updated on 07-Dec-2022 11:12:25

996 Views

In this tutorial, we will learn why to split the tag when writing it with the document.write(). The script tag in HTML is added to execute JavaScript code on the webpage. The JavaScript programs must be enclosed with the script tag to execute. There are many methods in JavaScript that add HTML content to the page, like the document.write() method. The document.write() method is used to delete all the content from the HTML tag or the document and add the content specified in this method to the page. Because of performance degradation and errors in certain conditions, this method ... Read More

How to stop refreshing the page on submit in JavaScript?

Shubham Vora
Updated on 02-Sep-2023 11:31:26

77K+ Views

In this tutorial, we shall learn to stop form refreshing the page on submitting in JavaScript. Let’s cover the methods to accomplish this objective. Using event.preventDefault() to stop page refresh on form submit In this section, we will see how to use event.preventDefault() to stop page refresh on form submission. The event.preventDefault() restricts the default page refresh behavior of the form during form submission. Users can follow the syntax below to try this method. Syntax The syntax defines the form. //Get form element var form=document.getElementById("formId"); function submitForm(event){ ... Read More

POST unchecked HTML checkboxes

Shubham Vora
Updated on 07-Dec-2022 10:14:03

4K+ Views

In this tutorial, we will learn to POST unchecked HTML checkboxes. To interact with a user, it is necessary to take their input or data through the website. The HTML forms are used to take input from the user. Forms are essential to take the data of the user on the website. These forms take input from the user and send data to the server using HTTP requests. There are two types of HTTP requests one is GET, and the other is POST. The POST request is the most used type because it is secure and can send a large ... Read More

How to include another HTML file in an HTML file?

Shubham Vora
Updated on 06-Sep-2023 21:51:46

52K+ Views

In this tutorial, we shall learn to include another HTML file in an HTML file. Various methods are available to include another HTML file in an HTML file. Let us quickly go through the techniques that have support on the web. Using JQuery load to include an HTML file In this section, we shall check how to use JQuery’s load method to include an HTML file. Users can follow the syntax below to use this method. Syntax $(wrapper).load(htmlfile); The wrapper appends the new HTML file that jQuery loads. Parameters wrapper − ID of the DOM element that includes ... Read More

Advertisements