Skip to content

on_unmounted

Run exactly once when the component unmounts.

Parameters:

  • fn

    A function to run when the component unmounts.