Run code on component becoming visible for first time - SolidJS