Menu
La Danze UI logoLa Danze UI logoLa Danze UIDocs
DemoGitHub
La Danze UI logoLa Danze UI logoLa Danze UI
  • Docs
  • Demo
  • GitHub
  • Getting Started
  • Usage
    • Introduction
    • Core
      • Theme
      • Drawer
      • Components/Hooks
    • Animation
      • Animate routing
      • Animate appearance
    • Form
  • API
    • Components
      • Theme
      • DrawerTemplate
      • Drawer
      • DrawerListItem
      • AnimateSwitch
      • AnimateRoute
      • AnimateLink
      • MountTransition
      • Form
      • FormField
      • LoadingPaper
      • NavLink
      • FlexLayout
      • FlexItem
    • Hooks
      • useAnimationKey
      • useOpenDrawer
      • useIsMount

useIsMount()#

This hooks is used to know if a component is mounted/unmounted.

Example#

import { useIsMount } from 'la-danze-ui';
...
function App() {
const isMount = useIsMount();
...
}
Edit this page
Previous
« useOpenDrawer
  • Example
Copyright © 2021 La Danze UI Built with Docusaurus.