Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Use runHostWithIO #312

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

WIP: Use runHostWithIO #312

wants to merge 1 commit into from

Conversation

ElvishJerricco
Copy link
Contributor

No description provided.

for_ (reverse rootNodes) $ \(rootNode, runner) -> do
let hydrate = runHydrationRunnerT runner Nothing rootNode events
void $ runWithJSContextSingleton (runPostBuildT hydrate never) jsSing
-- Should this be lift, or distributeJSContextSingleton? Why do we use never?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could someone help me out with this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm iirc the PostBuildT shouldn't really be here, but it was fairly awkward to get rid of it

@ElvishJerricco
Copy link
Contributor Author

Related: reflex-frp/reflex#305

@lpsmith lpsmith added opinionated Requires judgement from senior developer or developer community enhancement non-breaking change breaking change and removed opinionated Requires judgement from senior developer or developer community non-breaking change labels Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants