Author Archives: Ullas Yadav

Higher-Order Components

Higher-Order Components are what they sound like. A function that takes a component and returns a replacement component is an example of a higher-order component. Higher-Order Components in React may be a pattern that stems from React’s nature, which favors composition over inheritance. Consider the following scenario: In the preceding example, a higher-order component could Continue Reading »

Pure Components

In this article, we will discuss what are pure functions in javascript? What are pure components? When to use pure components in React and when not to use them? What is the difference between Pure components and class and functional components? What are the advantages of pure components over others? When a function is called Continue Reading »