We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should probably add another means to subscribe to Observables. Perhaps add a new subscribeUnique() method and use it from the useObserver hook.
subscribeUnique()
useObserver<T>(observable: Observable, options?: { comparator: (a: T, b: T) => boolean });
The default comparator will only perform a shallow comparison and users will be able to provider their own implementations.
The text was updated successfully, but these errors were encountered:
guyca
No branches or pull requests
Background
We should probably add another means to subscribe to Observables. Perhaps add a new
subscribeUnique()
method and use it from the useObserver hook.API
The default comparator will only perform a shallow comparison and users will be able to provider their own implementations.
The text was updated successfully, but these errors were encountered: