added comment
commitedfd586e8407023febe1eece55c82bd84883df4c
authorOwen Shepherd <owen.shepherd@obsidian.systems>
dateMon 13 Jan 2020, 21:11 (7 years ago)
parentd224f50
skeleton/frontend/src/Frontend.hs+3
@@ -18,6 +18,9 @@ import Common.Api
1818import Common.Route
1919
2020
21+-- This runs in a monad that can be run on the client or the server.
22+-- To run code in a pure client or pure server context, use one of the
23+-- `prerender` functions.
2124frontend :: Frontend (R FrontendRoute)
2225frontend = Frontend
2326 { _frontend_head = do