Skip to content

Fix Broken React Examples in Try PureScript #196

Closed
@milesfrain

Description

@milesfrain
Collaborator

@spicydonuts and @ptrfrncsmrph, do either of you have suggestions for how to get the React examples working in the Try PureScript environment?

It's currently having issues finding the container (see dev console):
Broken - ButtonsReactHooks

The Halogen examples work great:
Working - ButtonsHalogenHooks

One workaround is to reuse Halogen's awaitBody in the React example, but it would be better to eliminate that Halogen dependency. Also, react dom complains in the dev console about rendering into the document body.
Working with Halogen's awaitBody

Activity

maddie927

maddie927 commented on Aug 5, 2020

@maddie927
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @maddie927@milesfrain

      Issue actions

        Fix Broken React Examples in Try PureScript · Issue #196 · JordanMartinez/purescript-cookbook