Skip to content
New issue

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

Subscription signals are deref'ed multiple times when the main sub is used outside of a view #657

Open
p-himik opened this issue Nov 18, 2020 · 0 comments

Comments

@p-himik
Copy link
Contributor

p-himik commented Nov 18, 2020

Not a problem when subscriptions are used only in views.
But a problem when a solution for using subs in event handlers linked here in the FAQ is used.

The root cause is that re-frame.subs/deref-input-signals first calls map-signals and then uses basically the same code plus an error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant