Fork me on GitHub

transact! is async, so to get the effect you want you will either need a synchronous transaction or local state - sync tx is mentioned here and in the docstring this pattern applies if you want to use local state:

🙌 1

Thanks @U051V5LLP, your answer prompted me to try to reuse that component again, after reading the documentation you linked. In the end I was able to make it work even without local state nor sync transactions on the fulcro part. Turned out my error was simpler, but I learned a lot! In particular, when would you reach for sync transactions?