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
Wondering if you'd be interested in adding customizable attribute selectors as an option for the parser? # = id and . = class are currently hard-coded, which is obviously what you'd expect to see for HTML, but if you're trying to parse something else (e.g. JSX), it might be valuable to map those attribute selectors to something else (e.g. className for React).
I'm more than happy to make a PR if that's something you'd like to add to this project :) Thanks!
The text was updated successfully, but these errors were encountered:
Wondering if you'd be interested in adding customizable attribute selectors as an option for the parser?
# = id
and. = class
are currently hard-coded, which is obviously what you'd expect to see for HTML, but if you're trying to parse something else (e.g. JSX), it might be valuable to map those attribute selectors to something else (e.g.className
for React).I'm more than happy to make a PR if that's something you'd like to add to this project :) Thanks!
The text was updated successfully, but these errors were encountered: