onMount
Edit this pageRegisters a method that runs after initial rendering is done and the elements are mounted to the page. Ideal for using refs and managing other one-time setup that requires the
This is an alias for an effect that is non-tracking, meaning that it is equivalent to a createEffect
with no dependencies.