HomePosts Tagged "React"
Posted in React, Web Application

Creating a Custom Middleware with Redux

You might have used redux with react, as it is a widespread practice. Many people use redux-saga or redux-thunk for async actions as middlewares. Redux allows you to create your custom middleware as per your requirement. A middleware can be added in between dispatch and reducers so that we can alter the actions or can dispatch other actions (for async actions). This is […]

Posted in React

Profiler API

The performance of an Application can be good or bad depending on the quality of code. In React, The Profiler API helps in measuring the performance of a component and enhancing it. The Profiler API for DevTools first got shipped in the 16.5 React version. It helps developers find difficulties in your web application. In […]

Posted in React, Web Application

React Portals

Portals is a feature which was added in React 16. It lets you render children into DOM node outside of the parent component. How to create Portal? where child can be any renderable React element such as fragment, strings or elements and domNode is DOM element. What can we do with Portals? We can make […]

Posted in React, Web Application

React Component Types

React has many different types of components and all provide different kind of use cases and performance optmizations. In this post we will see different types of components in brief and which component to use when Basic Component  These are the default component of react which we use always, this has the all the react […]