FireworksX / graph-state

Cache state manager.
2 stars 1 forks source link

Don't notify after invalidate #34

Closed FireworksX closed 4 months ago

FireworksX commented 4 months ago

Read graph. At starts graph Type:ID is empty, but i want get update when he'll be available. That work

const [graph] = useGraph(state, 'Type:ID')

then invalidate state.invalidate( 'Type:ID') and create again state.mutate({ _type: 'Type', _id: 'ID' }) and now useGraph dont react on update.

FireworksX commented 4 months ago

resolved #31