Suspense and Lazy in React
Jest aside, and Jest as a testing mechanism aside as well, React.lazy and Suspense are two features in React that allow you to load components lazily, i.e. only when they are needed, instead of loading all components up front. This can improve the in...
dhawalpandya01.hashnode.dev2 min read