Deschtex / html2react

A utility for turning raw HTML into React elements.
MIT License
43 stars 5 forks source link

Allow for more advanced override selectors #13

Closed Deschtex closed 8 years ago

Deschtex commented 8 years ago

Currently it is only possible to use simple selectors such as type selectors (p), attribute selectors ([attr]), class selectors (.class), ID selectors (#id), etc.

It's not possible to do more advanced selectors such as descendant selectors (div p), child selectors (div > p), adjacent sibling selectors (h1 + p) and pseudo-class selectors (p:first-child, p:nth-child(3)).