DEV Community

Discussion on: Angular Dev's first React project - Netflix clone

Collapse
 
vugar005 profile image
Vugar

İ am afraid with React.lazy you need to use React.lazy(()>import.... ) on every component which depends on that component. Is not it?

Thread Thread
 
ajitsinghkaler profile image
Ajit Singh • Edited

Just create an intermediate component. That is how everyone that use SCAM in angular does it anyway.