obsidiansystems / obelisk

Functional reactive web and mobile applications, with batteries included.
https://reflex-frp.org
BSD 3-Clause "New" or "Revised" License
959 stars 107 forks source link

We should provide the HasCookies instance for the Client monad to obelisk widgets #1074

Open cgibbard opened 7 months ago

cgibbard commented 7 months ago

https://github.com/obsidiansystems/obelisk/blob/master/lib/frontend/src/Obelisk/Frontend.hs#L91

There should be a HasCookies (Client m) here I think, which should make askCookies work inside the right half of a prerender.