fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
peterdee 2021-05-06T02:40:01.313800Z

I really, really need to remember to clean the build directory before writing questions to slack. Sorry about that!

Tyler Nisonoff 2021-05-06T18:54:13.316700Z

how are folks automatically signing out clients if their session is invalidated server side? I’ve been following the auth example in RAD to check the session, which will check the session once on pageload, (via the UISM auth-machine), but what if halfway through using the app, the redis session store is invalided? My pathom queries / mutations will stop returning results for data that requires proper authorization, but this can look like data loss to the clients.

Tyler Nisonoff 2021-05-06T18:55:58.316800Z

perhaps checking the session in ring middleware, and utilizing custom response-middleware in the client?

hadils 2021-05-06T22:05:20.319Z

i am trying to upload an image using

(blob/upload-file! this :file/sha fname {:file-ident (comp/get-ident this)})
What is the proper format for fname? I tried a BLOB and a string filename.

hadils 2021-05-07T13:41:22.323500Z

Will FormData work?