When and how to use React Context API in react 18?
In this tutorial, we’ll learn what is React context, when to use it, and different ways of setting and reading the context. Demonstrate an example of it.
Comprehensive Full Stack Development Tutorial: Learn Ionic, Angular, React, React Native, and Node.js with JavaScript
In this tutorial, we’ll learn what is React context, when to use it, and different ways of setting and reading the context. Demonstrate an example of it.
Redux is a popular state management library for Javascript. We can use redux in React for creating stores and it is often combined with React via the React-Redux library. React Redux is a state management tool, when our application grows, we need a state management tool like Redux to manage the global state, it can […]
In this tutorial, we’ll learn what is Ionic modal, how to change its style, and how to pass to and from the Ionic modal with examples.
In this tutorial, we’ll learn how to add Angular phone number format to add Angular international phone number on input. We’ll demonstrate two examples of Angular phone numbers using Bootstrap, a material design library, and demonstrate an example of an Angular international phone number with a flag on input. We can use the ngx-intl-tel-input library […]
React custom hooks or React hooks are reusable functions in React. When different components in our application have the same logic, then we can extract the common code and create a reusable React custom hook. Is like a normal function in Javascript, we can call it any number of times, and calling each time has […]
An Angular allows us to protect routes with guards. An angular Route guard is a way of protecting navigation by allowing or denying a route based on the condition we supply. The most commonly used angular route guard types are CanActivate and CanDeactivate. Angular has several guard interfaces that allow us to mediate navigation to […]