on master help sign in
Merge pull request #618 from obsidiansystems/os-add-fullstack-monad-comment

Add comment to skel explaining server and client contexts

commit678d2d60955978b8a3ea25a394f7ca28636f4111 authorElliot Cameron <3noch@users.noreply.github.com> dateTue 14 Jan 2020, 10:20 (7 years ago) parent27b805f1950923
1 file changed+3
skeleton/frontend/src/Frontend.hs+3
skeleton/frontend/src/Frontend.hs+3
@@ -20,6 +20,9 @@ import Common.Api
2020import Common.Route
2121
2222
23+-- This runs in a monad that can be run on the client or the server.
24+-- To run code in a pure client or pure server context, use one of the
25+-- `prerender` functions.
2326frontend :: Frontend (R FrontendRoute)
2427frontend = Frontend
2528 { _frontend_head = do