Fork me on GitHub
#fulcro
<
2018-05-13
>
claudiu06:05:40

@pontus.colliander you can use post-mutation to format the server response you get from df/load. Or the target if you just need to specify the app state location.

👍 1
mitchelkuijpers07:05:09

@oliver.mooney which version of fulcro do you have? You need 2.5

OliverM08:05:12

@mitchelkuijpers I've 2.5.4 in the project file (moved from 2.4.3 when I was using figwheel)

mitchelkuijpers08:05:36

Did you do all the upgrade steps? Because there are some breaking changes between those versions

OliverM08:05:43

I saw that there were breaking changes but probably didn't port them properly, is there a checklist somewhere? I used the current lein template as a model so must've missed something

mitchelkuijpers08:05:51

Btw shadow-cljs rocks, we moved a while ago and never looked back!

❤️ 2
mitchelkuijpers08:05:25

You are probably running into: Released new i18n (alpha promotion). BREAKING CHANGE.

OliverM08:05:41

yeah I tried it on a new mini-project to play with routing a bit and it was great, I'm getting 40-second figwheel builds in dev and can't wait to get back to sub-second ones

OliverM08:05:09

Yeah I saw the breaking change warning but assumed that if I copied the structure in a new template (moving my i18n files to their new places, switching the cljsbuild invocations to shadow-cljs etc it would work

OliverM08:05:43

I'm not even using i18n yet, it's just less work to port my current project to the new plumbing that creating a new project and moving all my stuff there

OliverM08:05:52

or so I thought 🙂

OliverM08:05:58

Found it! I'd mis-copied a require of fulcro.i18n like an idiot, thanks for the help!

mitchelkuijpers08:05:54

Great, happy to listen

mitchelkuijpers08:05:15

It is still a very good idea to make i18n work from the start

OliverM08:05:23

definitely

Pontus13:05:18

Could someone explan what the purpose is of the ui/react-key in the query of the Root component in the examples of the fulcro developers guide? http://book.fulcrologic.com/#_using_data_from_root

mitchelkuijpers19:05:41

Hi @pontus.colliander your load-data calls are not getting the right components

mitchelkuijpers19:05:40

:my-notes should have Note as argument in load-data

mitchelkuijpers19:05:52

And the other one Notebook

mitchelkuijpers19:05:10

I am on my phone, but does this help?

mitchelkuijpers19:05:13

You df/load calls I mean

Pontus19:05:50

awesome. Yes I tried and now it normalizes it correctly. Thanks!

bananadance 1