fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
nivekuil 2020-11-05T00:49:41.039500Z

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

tony.kay 2020-11-05T11:34:43.041700Z

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

tony.kay 2020-11-05T11:36:14.043900Z

Use post mutation params if you need stuff

2020-11-05T12:07:46.046500Z

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.

2020-11-05T12:36:48.047500Z

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

tony.kay 2020-11-05T17:45:00.051200Z

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

2020-11-05T18:52:30.053200Z

Thank you.

2020-11-05T21:30:47.054400Z

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.

xceno 2020-11-05T21:51:45.054500Z

What exactly do you want to do?

2020-11-05T21:54:00.054700Z

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.

2020-11-05T21:55:02.054900Z

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.kay 2020-11-05T22:05:30.055100Z

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.kay 2020-11-05T22:05:39.055300Z

it’ll just stay a tempid forever

2020-11-05T22:09:12.055500Z

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