Fork me on GitHub
#fulcro
<
2020-11-05
>
nivekuil00:11:41

how come the :ref and :component fields in a post-mutation env are nil, even when the load is called with a component?

tony.kay11:11:43

Post mutation happens async and is triggered by the remote, not a component.

tony.kay11:11:14

Use post mutation params if you need stuff

Buidler12:11:46

Is Fulcro Inspect currently working? I can't seem to get it to work anywhere, including the examples in the Fulcro documentation. It just shows me `Revision nil` in the DB tab. I have 3rd party cookies enabled as per the instructions. Tried in both Chromium and Google Chrome.

Duck Nebuchadnezzar12:11:48

I've been having the same issue with my app, but I installed the rad-demo app and the inspector works for that.

tony.kay17:11:00

Fulcro inspect (latest in store) requires Fulcro 3.4.2+. If you’re using an older version either upgrade, or manually install the old inspect from here: https://github.com/fulcrologic/fulcro-inspect/releases

Buidler18:11:30

Thank you.

Buidler21:11:47

Is there a way to make use of tempid/tempid if I haven't yet started using a backend? So far I'm simulating one in the browser as the docs suggest as an option.

xceno21:11:45

What exactly do you want to do?

Buidler21:11:00

Just getting started with Fulcro. I'm trying to create a PersonForm that just takes a :person/name and saves a new person to the client db through add-person.

Buidler21:11:02

There are no Person records yet, and I haven't given the form access to the entire list of people, so I don't know how to determine a :person/id (which I intend to be different from :person/name.

tony.kay22:11:30

Yes, tempids can be used in the client….just call that fn from the UI code that makes the new one, and pass it to the mutation

tony.kay22:11:39

it’ll just stay a tempid forever

Buidler22:11:12

Ah, so nothing wrong with doing it like that. I thought maybe there was.