Fork me on GitHub

css children?


I forgot to ask this yesterday: if I am using CSS protocol, and when I implement function include-children in a root component, can I name a router as a child, or do I have to name all the things router routes to? It seems routers don't implement the protocol, therefore they are opaque as far as aggregating CSS bottom-up goes.


You can only include children that implement the protocol, so you would have to include all the routes separately


@nha The reasoning was deduplication. The old method could very easily lead to something being emitted more than once. The new method can analyze the overall set of components contributing CSS and dedupe it.


how can I select two classes with Garden? Like .