Fork me on GitHub
#fulcro
<
2017-12-12
>
tony.kay01:12:10

@piotrek sorry, not sure I understand the question…did you figure it out?

tony.kay01:12:32

I thought you were trying to do a highlight…once you have :main, isn’t that what you needed?

piotrek15:12:04

I’m sorry I wasn’t clear enough. I just though that maybe I could modify my query: [{[r/routers-table :top-router] [::r/current-route]}] so that it would just get me the screen out of the returned data bound in the arg vector in defsc. I think it would be too much magic though 🙂 Instead I have the query as above and I use (get-in props [{[r/routers-table :top-router] [::r/current-route]}]) and then extract the keyword I am interested in.

piotrek15:12:46

Thank you for your help on this!

tony.kay03:12:33

Starting into videos on going full-stack. Still very basic, but getting towards a fully-functional full-stack app.

wilkerlucio04:12:32

you are a quick recorder man, I took a full day to get my last video on 30 min XD

tony.kay04:12:31

Mine aren't as polished as that 😉

tony.kay04:12:50

I figure youtube has a 2x mode if I go too slowly

tony.kay04:12:42

@wilkerlucio and you're a fast implementor...tests and all 🙂

wilkerlucio04:12:32

thanks, now I'm pretty much dead XD

wilkerlucio04:12:54

thanks for the feedback, yeah, I agree this is all vital and we need to test against all of it

wilkerlucio04:12:11

about the targeting, where can I find the code that handles the target special types?

wilkerlucio04:12:05

humm, I think I just founded

wilkerlucio04:12:43

so, maybe we should move this logic out so it can be used in more places?

wilkerlucio04:12:21

anyway, I'm dead, going sleep here, talk tomorrow, cya 🙂

tony.kay05:12:33

The source code and files for the YouTube videos are now on github at https://github.com/fulcrologic/fulcro-basics-videos

tony.kay05:12:20

@wilkerlucio Yep, that's the function...we can move it if it makes a circular dep...otherwise I think it is well-placed. It is related to targeting incoming data, which is what you're doing, and it is in impl, since it really isn't meant to be public API (`integrate-ident` is that).

LL08:12:49

places the named components into the env of mutations and queries;

LL08:12:25

How can I inject db component in websocket-demo?

LL08:12:13

change "easy/make-web-server" to "easy/make-fulcro-server"?

LL08:12:13

I just need datomic db connect in api.clj.

a.espolov10:12:14

fulcro 2.0 support dynamic query for app root component? fulcro 2.0 support ssr?

mitchelkuijpers12:12:02

I noticed there is an empty file in fulcro https://github.com/fulcrologic/fulcro/blob/develop/src/main/fulcro/client/core.cljc why is this? shadow-cljs does not like this at all

thheller12:12:52

@mitchelkuijpers its just a warning, shouldn’t interfere with actual use. would be good if the empty file was removed though. 😉

mitchelkuijpers12:12:22

No I noticed, but still very weird. It should at least have a ns declaration

wilkerlucio13:12:30

@a.espolov yes and yes, I dont have the details but you should be able to find info about both on the docs

roklenarcic15:12:56

given that fulcro 2.0 doesn't use om.next and thus isn't supported by pathom, what approach would you recommend for server reads?

tony.kay17:12:55

pushed beta7-SNAPSHOT without the empty file

tony.kay17:12:22

@tpliliang Please use the developer's guide. It covers all of that.

tony.kay17:12:08

@roklenarcic Wilker and I are working on the strategy for supporting om next libraries, and pathom in particular. I may release a lib here in the next day or two that defines om-next symbols and points them to their Fulcro equivalent. That would let you use a number of libs since the external API compatibility should be quite good.

adamvh22:12:33

do i need separate entities in project.clj for fulcro-css fulcro-sql et al?

adamvh22:12:45

or is it enough to just depend on fulcro

wilkerlucio23:12:08

@adamvh they are separated packages, you have to add each