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

feat(query): config option to allow for showing a warning for repeat listeners #717

Open
prescottprue opened this issue Jun 18, 2019 · 0 comments

Comments

@prescottprue
Copy link
Owner

prescottprue commented Jun 18, 2019

Do you want to request a feature or report a bug?
Feature

(If this is a usage question, please do not post it here—post it on gitter. If this is not a “feature” or a “bug”, or the phrase “How do I...?” applies, then it's probably a usage question.)

What is the current behavior?
Sometimes there are repeat listeners which can cause unexpected behavior - if a config option allowed for a warning to be shown if there are two listeners active for the same path, this could be solved.

This would have made debugging much easier for a bug we (Side Inc. Engineering experienced. Thanks to @lautapercuspain and @urbantumbleweed for uncovering the bug.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.

What is the expected behavior?
If warnForRepeatedListeners: true is set in config, a warning appears if two listeners with the same settings are attached

Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?

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

No branches or pull requests

1 participant