We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
I have a case where I want to get a list of data based on some prop.
const myComponent = ({type}) => { let data = useStoreState(store, (s) => s[type]); // do stuff with data }
However, the selector is not updating when I change the type prop. Is there any way to make this work?
type
Activity