This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!


Already subscribed? Sign In

Implement a custom Material-UI theme on the server using a Higher-order component

In this lesson we’ll create a higher order component that will allow us to use Material-UI from within in a server-rendered environment. To do this, we will leverage Next.js’ getInitialProps lifecycle hook in order to avoid any issues with our styles rendering on both the client and server. This lesson will also show you how to get up and running with a custom Material UI theme!

Please take a moment to tell your friends:

You must be a PRO Member to view code