How to create a proper loader?

Related: if you want to know more about the internals of list loading in Bubble, you might find this interesting: