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

Throwing errors vs console.warn #187

Open
quantizor opened this issue May 9, 2023 · 0 comments
Open

Throwing errors vs console.warn #187

quantizor opened this issue May 9, 2023 · 0 comments

Comments

@quantizor
Copy link

For situations like min=0 max=0 where the values match, I agree there should be some sort of dev-time feedback, but throwing an error seems very extreme and breaks the entire page when there might be some async adjustment happening which just hasn't been applied yet.

Can usages of RangeError be replaced with console.warn or console.error to be friendlier to the development process?

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