Runs a function when a selector is added to dom
A helpful wrapper around @tanstack/solid-virtual for easier creation of virtualized lists in Solid.js