Fork me on GitHub
#fulcro
<
2019-02-13
>
exit201:02:59

@currentoor yeah its inside a router

currentoor01:02:16

then same, make up a router

exit201:02:30

not sure I follow

exit201:02:35

the component thing worked, but I guess I’m confused why I have to make it up @currentoor

currentoor05:02:18

@njj so we have a normalized app state, and the way to reach entities in this structure (with queries) is with an ident, which give an entity a unique and specific identity

currentoor05:02:19

routers use both idents and queries for that purpose

timovanderkamp15:02:09

Hi im using form-state and found something that i’m questioning if its intended behavior. If I have a field which is an unrequired subform, my form-delta shows {:before nil :after []} when calling form-state/dirty-fields for this field without changing anything.

timovanderkamp15:02:25

I might have found an issue is the function form-state/dirty-fields. https://github.com/fulcrologic/fulcro/blob/develop/src/main/fulcro/ui/form_state.cljc#L479 If items is nil, cond will succeed for the :else case, making a vector the current-value instead of nil

Mark Addleman17:02:14

If I specify :initial-state through new-fulcro-client can I also specify initial state in components? From a quick experiment, it looks like the component's initial state fn is called but the resulting value is not merged into the db coming from new-fulcro-client.

hmaurer17:02:47

@mark340 if you specify :initial-state, the initial state coming from components isn’t used

✔️ 5
hmaurer17:02:58

(however you could manually pull in the initial state coming from components and merge it in)

timeyyy20:02:06

Does anyone know where i can find the repo for , want to contribute.

timeyyy21:02:27

I don't think so, the content looks different and that repo hasn't been updated since april 2018 while the link i posted was updatd in December

tony.kay21:02:50

@njj It’s in the root of the main Fulcro repo as a adoc file

tony.kay21:02:40

I build/deploy that to a separate server…eventually maybe I’ll set it up to deploy to the github-based website.

tony.kay22:02:29

Fulcro Incubator 0.0.28 is up on Clojars. This version adds a few tweaks to the dynamic router and better support for load/remoting within UI state machines. https://github.com/fulcrologic/fulcro-incubator

🎉 30
thosmos04:02:27

I think that fixed the problem I was running into. I got it working before by setting the :deferred-timeout really high, but now it works even if it's low

grounded_sage23:02:30

I’m curious what the benefit of the dom macros have over Sablono?

claudiu06:02:10

http://tonsky.me/blog/hiccup/ nice article about this stuff.

grounded_sage17:02:08

Thanks that was super helpful. I had those assumptions but wasn’t 100% sure that my assumptions were correct