NN
Size: a a a
NN
V
V
V
NN
V
NN
const componentMounted = createEvent()
const componentUnmount = createEvent()
const props = createStore(null)
const isMounted = createStore(false)
isMounted.on(componentMounted, () => true)
isMounted.on(componentUnmount, () => false)
props.on(componentPropsUpdated, (_, newProps) => newProps)
useEffect(() => {
componentMounted()
return () => {
componentUnmounted()
}
}, [])
useEffect(() => componentPropsUpdated(props), [props])
const gate = createGate()
useGate(gate, props)DS
NN
NN
const { id } = useRoute('/:id')
useGate(gate, { id })NN
DS
V
V
NN
guard({ source: gate.state, filter: gate.status, trigger: getPageByIdFx })V
NN
NN
NN
