File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* @todo Things that still need to be done before this can be called done:
3
- * 1. Add tests and address any bugs
3
+ * 1. Explore an idea for handling selectors without forcing someone to specify
4
+ * data dependencies for what values are accessed via closure:
5
+ * - A selector is ALWAYS run synchronously in a render. There is no way to
6
+ * opt out of this behavior, not even memoization
7
+ * - The selector is still used to determine whether a component should
8
+ * re-render via a time update. It will be assumed that whatever function
9
+ * is currently available will always be the most up-to-date
10
+ * - This approach might make it more viable to combine useTimeSync and
11
+ * useTimeSyncSelector again
12
+ * 2. Add tests and address any bugs
4
13
*/
5
14
import {
6
15
type FC ,
You can’t perform that action at this time.
0 commit comments