Skip to content

Latest commit

Β 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Life circle enhancement for react-native Navigator element

Why

The react-native official document only offer 'didfocus' and 'willfocus' event for us to get things related scene life circle done. with this mixin, you have the power to handle tasks with more event hooks.

  • onEnterance - Fired at "former to current"
  • onBackIn - Fired at "latter to current"
  • onWillFocus - Fired at "other to current",two cases above covered.
  • onDidFocus - Fired at current scene active(after animation).
  • onBackwardBlur - Fired at "current will jump to latter"
  • onForwardBlur - Fired at "current will jump to former"
  • onWillBlur - Fired at "current will blur",two cases above covered.
  • onDidBlur - Fired at "current to others" animation done.Before this.componentDidUnmounte

🍻 Cheers!

About

πŸ– Life circle enhancement for react-native Navigator element

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages