For large menus only build enough items to fill the vertical space. Build more items on scroll. Additionally support generators to progressively build the menu items.