@@ -147,16 +147,8 @@ runHydrationWidgetWithHeadAndBody switchoverAction app = withJSContextSingletonM
147147 liftIO $ modifyIORef' hydrationResult ((n, res) :)
148148 pure a
149149 flip runPostBuildT postBuild $ flip runTriggerEventT events $ app (hydrateDom $ toNode headElement) (hydrateDom $ toNode bodyElement)
150−-- liftIO (readIORef unreadyChildren) >>= \case
151−-- 0 -> DOM.liftJSM commit
152−-- _ -> return ()
153150 return postBuildTriggerRef
154151
155−
156−
157−
158−
159−
160152{-# INLINE mainWidget #-}
161153mainWidget :: (forall x. Widget x ()) -> JSM ()
162154mainWidget = mainWidget'