Lazy Loading is used for code splitting in create-react-app
feature. If you wanna show loading message when any Api, or any complex logic content is being loading, tha, React provides an Lazy loading feature.
For example: Refer this video and official docs.