fix: cache snapshot & add option `deps`
fix #22
Adding the deps option is to allow users to manually control whether to detect changes in the keys (references), saving the trouble of using useMemo. This might be a better default behavior, but it could introduce a breaking change.
合并状态:未合并 关闭于 2024-09-23 1 条评论