notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
https://notiflix.github.io
MIT License
647 stars 55 forks source link

[FEAT] - Notiflix production console error and warning #57

Closed swoorr closed 2 years ago

swoorr commented 2 years ago

Is your feature request related to a problem? Please describe.

When i was deployed to production, it was be continue show console error and info and warning

Describe the solution you'd like

May be production config, show console errors: false

Describe alternatives you've considered

Or may be production implementation always remove console lines

Additional context

Screen Shot 2022-07-25 at 15 04 42
furcan commented 2 years ago

Hi @swoorr ,

You are getting this log(actually this is a runtime error on your code) because you are calling the remove() method twice for no reason. Notiflix prevents these unnecessary calls and shows this log to the clients.

You can please double-check your implementation, or you can share your code as a snippet so that I can give you more info.

Thanks, Furkan.