The component used in conjunction with React.lazy() to provide a fallback UI during component loading is ________.

  • React.Component
  • React.Fallback
  • React.Placeholder
  • React.Suspense
The component used in conjunction with React.lazy() to provide a fallback UI during component loading is React.Suspense. React Suspense allows you to wrap the lazy-loaded component and specify a fallback UI to display while the component is loading, enhancing the user experience.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *