Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make selector default to identity function
if we default to `api.getState`, we will always read the client snapshot if there is no selector passed. An identity function returns its argument, which is either the snapshot (api.getState) or the server snapshot (api.getServerState)
- Loading branch information