In the context of React's lazy loading, what type of components can be directly imported using React.lazy()?
- Class Components
- Functional Components
- Higher-Order Components
- Redux Components
In the context of React's lazy loading, you can directly import Functional Components using React.lazy(). Class Components and Higher-Order Components are not directly supported for lazy loading using React.lazy(). Redux Components also need to be wrapped in Functional Components to use React.lazy().
Loading...
Related Quiz
- What is the primary difference between getServerSideProps and getStaticProps in Next.js?
- How does React's virtual DOM improve performance over direct DOM manipulation?
- A common use case for Render Props is when components need to share ________ without being tightly coupled.
- How does React Native handle the rendering of components on different platforms (iOS and Android)?
- The process by which React syncs the virtual DOM with the real DOM is called ________.