lazy loading an infolist

I'm wondering how I would go about lazy loading this infolist:

    public static function myInfolist(Infolist $infolist): Infolist
    {
        return $infolist->schema(self::getInfoListEntries())->columns([
            'sm' => 1,
        ]);
    }

    {{ $this->myInfolist}}


i know you can do it when it's just a regular livewire component, so maybe I need to just move/wrap this in a livewire component and go that route?
Was this page helpful?