Skip to content

tryOnMounted

Category
Last Changed
8月1日16时40分

Safe onMounted. Call onMounted() if it's inside a component lifecycle, if not, just call the function

Usage

ts
import { tryOnMounted } from 'comuse-core'

tryOnMounted(() => {

})

Source

SourceDocs

Changelog

v4.1.0 on 8/1/2025
bc8f2 - feat: add useStorage

Released under the MIT License.