These are pretty simple expressions. I see this being more useful as a resource than a library. Cheat-sheets are boring. This is living.
Usage in React
In React render function, it can be used like so:
If you're not familiar with
Object.assign, it's just a way of merging objects
from right to left.
_.extend could serve the same purpose.
This is a map of pseudo-classes to available functions.
Why not use the same names?
:nth-child is a pretty overloaded selector. I really don't want to get into
Is this exhaustive?
Nope. I've added those most common me. Happy to add more if useful.