Skip to content

Commit ee91200

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 6b74939 + 76864fa commit ee91200

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Oak.purs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ runApp msg app = do
176176
type Runtime m
177177
= {tree :: Maybe N.Tree, root :: Maybe Node, model :: m}
178178

179+
-- TODO: investigate implementing monoid for App and replace
180+
-- state loop with foldl
181+
-- TODO: decouple rendering from app event loop to facilitate
182+
-- different rendering backends
179183
handler ::
180184
forall msg model.
181185
Ref.Ref (Runtime model) ->

0 commit comments

Comments
 (0)