Closed hlibowski closed 1 year ago
Hello @hlibowski I have opened a PR to tackle this issue, thank you for reporting this.
Closing this as completed. The fix is merged and will be available in the next @clerk/clerk-react
release.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
pk_test_cmVhbC10b3VjYW4tOTAuY2xlcmsuYWNjb3VudHMuZGV2JA
Package + Version
@clerk/clerk-react
@clerk/remix
@clerk/types
Dependencies + versions
Description
addListener
method fromuseClerk
hook does not returnunsubscribeCallback
as it's described in the doc, so it's not possible to unmount listener and it leads to the listeners duplication.Code snippet: