Minor Changes
-
#2614
0f77ec36d
Thanks @DavKato! - Added new useSelector(actor, selector), which subscribes to actor and returns a svelte store that represents the selected state derived from selector(snapshot):<script> // It won't be updated unless the selected value changed. const value = useSelector(service, (state) => state.context.value); </script> <p>{$value}</p>