Fork me on GitHub
#fulcro
<
2017-10-01
>
roklenarcic09:10:21

css children?

roklenarcic09:10:14

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.

timovanderkamp12:10:39

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

tony.kay17:10:11

@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.

roklenarcic21:10:02

how can I select two classes with Garden? Like .