Conclusion

Let's look at the biggest takeaways from this chapter.

React.lazy and Suspense are great and intuitive to work with, however, they do not support server-side rendering yet. It’s likely this will change in the future, but in the meantime, if you care about SSR, using react-loadable is your best bet for lazy loading React components.


In the next chapter, we’ll learn about hooks and how they empower functional components.

Get hands-on with 1200+ tech skills courses.