Fork me on GitHub
#fulcro
<
2018-02-04
>
Pontus08:02:05

If I want to use the db->tree function, where is it normally used? I used it in the read function passed to the parser but thinking it should maybe be used when destructuring props in the root component? Or somewhere else?

claudiu13:02:03

@pontus.colliander So far only needed it on the server side.

Pontus13:02:45

@claudiu Aha, so are you relying on manual denormalisation of the state client side then?

claudiu14:02:07

@pontus.colliander Only use it for the initiall app state that I put in the html for the client to pick up when it first loads 🙂 Client side fulcro kinda does all of the hard work, no need db->tree in client so far for my app 🙂

levitanong19:02:48

hi all, is there an anonymous version of defsc?

wilkerlucio22:02:28

there isn't, but I had missed it a few times too, you can fallback to the ui macro if you need to write some higher order components