Why not use closest dom api to find parent scope?
#3926
lovetingyuan
started this conversation in
3. Feature Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think use closest to find parent scope is more performant than using
parentNode(closestDataStack).eg:
el.closest(['x-data'])._x_dataStackBeta Was this translation helpful? Give feedback.
All reactions