Skip to content

Commit

Permalink
Lazy Loading
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilsoni committed Oct 17, 2023
1 parent e2b0ded commit 27a4a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ui/react/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ On the other hand, we should not use `PureComponent()` as a base component if:
A **Higher-Order Component(HOC)** is a function that takes a component and returns a new component. It is the advanced technique in React.js for reusing a component logic.
<p align="center">
<img src="ui/react/assets/Higher-Order-Components.jpg" alt="Higher Order Components" width="300px" />
<img src="assets/Higher-Order-Components.jpg" alt="Higher Order Components" width="300px" />
</p>
Higher-Order Components are not part of the React API. They are the pattern that emerges from React\'s compositional nature. The component transforms props into UI, and a higher-order component converts a component into another component. The examples of HOCs are Redux\'s connect and Relay\'s createContainer.
Expand Down

0 comments on commit 27a4a47

Please sign in to comment.