This Lesson is for Members

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

Unlock This Lesson

Already subscribed? Sign In

Autoplay

    Dynamically Load a Code-Split Universal React Component via a Prop

    Tim KindbergTim Kindberg

    We’ll use a function as our first param in the universal HOC. This function takes in the props and you can return a dynamic import using the props that were received. This allows us to make a very generic and reusable Universal component!

    reactReact
    >16.0.0 <16.4.0
    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss