How can i run some dom manip before rendering? - SolidJS