Gate
Gate is a hook to React rendering.
It allows you to send props back to Store.
Gate can have two states:
- Open, which means mounted
- Closed, which means unmounted
Gate Methods
Gate Properties
Gate Methods
childGate(childName?)
Returns child gate which won't render if parent gate is closed.
Returns
(Gate): Child gate
Gate Properties
isOpen
Returns
(boolean)
isTerminated
Returns
(boolean)
open
Returns
(Event)
close
Returns
(Event)
status
Returns
(Store)
destructor
Returns
(Event)
current
Returns
(Props)
state
Returns
(Store)