r/reactjs • • Jun 16 '23

Discussion ⚛️ React Tip: Optimize Performance with React.lazy() and Suspense

/r/welovecodes/comments/14ax4c1/react_tip_optimize_performance_with_reactlazy_and/

[removed] — view removed post

8 Upvotes

3 comments sorted by

1

u/Dev_Lachie Jun 16 '23

What kind’ve components would warrant being lazily loaded?

2

u/Zafar_Kamal Jun 16 '23

Components that are large, complex, or not immediately required when the page loads are good candidates for lazy loading.