All projectsNov 2024 – Dec 2024

HeroUI contributions

Before joining HeroUI, I contributed to its open-source component library, previously called NextUI. My work focused on list virtualization in Select, Autocomplete and Listbox.

Release notes · Autocomplete contribution · Select contribution · Listbox contribution

The problem with a large list

A dropdown may contain thousands of choices, even though only a small part of the list is visible. Rendering all those rows adds work before the user can interact with the component.

Virtualization renders the visible rows and a small surrounding buffer. As the user scrolls, that rendered range changes. For example, a list containing 10,000 entries does not need 10,000 visible row elements at once.

Browser profiling of list rendering before virtualization. Public pull request.

The contribution

I worked on applying that approach to the library’s list components and used browser performance measurements to investigate responsiveness. The goal was to make large datasets practical within existing components, while preserving the interaction users expect from a selection control.

This is more than displaying fewer rows. A component still needs to track the selected item and the active option when some items are outside the visible range. The pull requests show the implementation and review discussion, and the release notes document the public release.

The matching operation inspected separately in the browser profiler. Public pull request.

From open source to product work

This work preceded my full-time role at HeroUI. I later helped build HeroUI Chat, where the same component library was part of the interface-building product.