Why?
How?
We can check existence of ":" same way we check "&" and add a parent selector before it when extracting to a separate rule.
Another idea: write jss-pseudo plugin and put this functionality into a separate repository. So one can decide if they want to use jss-nested. Potentially we can completely avoid jss-nested by using jss-pseudo + jss-global.
This one is also important when used together with jss-isolate, to avoid isolation of pseudo rules.
Most helpful comment
This one is also important when used together with jss-isolate, to avoid isolation of pseudo rules.