re: React.lazy API in 60 seconds (Code-Splitting with Suspense) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi, Can this be used for static sites such as Gatsby? Because I just tried with Gatsby and I'm getting build errors.
 

I'm not sure

If you're performing server side rendering with Gatsby, then this wouldn't work (SSR isn't supported yet)

If not, make sure you're on the latest React version

 

I don't have SSR. Yes. I do have the react latest.
Can't seems to be working. anyway Thanks for the clear introduction :)

code of conduct - report abuse