Fork me on GitHub
#fulcro
<
2017-09-19
>
maravillas02:09:52

is it possible to get at component props inside a fulcro-css local-rules impl?

tony.kay04:09:28

local rules is pulled statically by the existing code. Technically, if you’re calling it from the component itself, you could pass this and pull props from that

tony.kay04:09:54

The intention is to tune CSS via more global rules (e.g. global atoms)…but if you have specific ideas, glad to hear them

maravillas04:09:47

that makes sense. i just needed to invert my thinking, i misunderstood the purpose of get-classnames

cjmurphy04:09:46

I'm not sure what defquery-entity gives you over defquery-root. I would just go ahead and use defquery-root for everything, but I must be missing some important point??

claudiu05:09:04

@cjmurphy query-entity has the plus of working with load-field

cjmurphy05:09:38

Oh I see. So if I don't have a load-field use case then not to use defquery-entity. That's my rule for now... thanks @claudiu.

wilkerlucio14:09:05

@tony.kay hey Tony, on fulcro-beta10, trying to transact 'fulcro/load is not working anymore, I didn't find anything on the changelog about it, is that intended?

wilkerlucio14:09:27

nevermind, my bad, just realized that I have to include fulcro.client.data-fetch otherwise the mutation doesn't load

currentoor15:09:22

@tony.kay how long does hot code loading usually take for you, in a substantial project? 12s is what I’m seeing with figwheel and fulcro in our project.

currentoor16:09:36

But I do have 5 builds for development 🙁

currentoor16:09:32

There is not a way to make figwheel process builds in parallel right?

wilkerlucio17:09:56

@currentoor do you need all the 5 builds all the time during dev?

currentoor17:09:20

@wilkerlucio one for test, one for devcards, and our app itself is split into three different apps (main app, read-only for sharing, and admin)

currentoor17:09:07

I suppose I could have just one portion of the app, but that still puts us at 3 builds (test, cards, and 1 app build)

wilkerlucio17:09:16

gotcha, yeah, I usually to have the minimum number of builds at once to enable a fast feedback loop, for example I usually don't do devcards and main app at same time

wilkerlucio17:09:51

but seems like you have a good setup to try to improve the figwheel story there, if you have the time 🙂