Fork me on GitHub
#pathom
<
2022-08-13
>
nivekuil23:08:19

I just realized something.. can fulcro's state map be replaced with a pathom smart map? With that connected to a server env, no more explicit loads needed?

wilkerlucio00:08:38

the issue here is performance, fulcro state reading is a critical path and the algorithms there are tuned to make it fast, the pathom overhead here is prob big enough to hurt the user interface responsiviness

nivekuil00:08:11

I thought smart map was about as fast as a normal map when cached

wilkerlucio00:08:09

you got a point, could try, the other limitation is around async, since a lot client side things require async process, but for things like full name computation it could work

nivekuil00:08:31

Ah right, the map accesses can't be batched like eql. Unless the interface delayed it like with the parallel resolver