You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using swiper.js and its core library uses Element.matches for some selecting mechanism, and <Match />'s matches property overrides this, raising type error matches is not a function that it took me about 1 hr to realize that it was naming pollution
My solution is wrapping all my components into another big one (before this I used a <main/> plain HTML element with path property), and giving the top-level component a path property for the router and it worked well
Maybe this issue could be taken into further account, because the stacktrace of naming pollution in some debuggers like DevTools is not that informative