Skip to content

Defer Component

This component takes a deferral function and parameters and will lazily load it's content once mounted to the client page. This can be useful for dynamic content on a relatively static page, such as a profile badge.

<Defer loader={profile} params={{ someThingUniqueTo: "this placement" }}/>

Warning

Don't forget to register your deferred function before use