Closed
Description
- I was using
swiper.js
and its core library usesElement.matches
for some selecting mechanism, and<Match />
'smatches
property overrides this, raising type errormatches 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 withpath
property), and giving the top-level component apath
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
Metadata
Metadata
Assignees
Labels
No labels