Skip to content

React recipes broken on try.ps.ai #284

Closed
@pete-murphy

Description

@pete-murphy

Describe the bug

The try.ps.ai links to *ReactHooks recipes are broken. There was a related issue with TryPureScript that was fixed here. So it seems like the issue is just that try.ps.ai is not up-to-date with TryPureScript. I don't know how try.ps.ai is maintained; apologies if this is not the right place to open an issue.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the README for this project
  2. Click on any try link for a *ReactHooks recipe (such as HelloReactHooks: https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/HelloReactHooks/src/Main.purs)
  3. Open browser console
  4. See error Uncaught TypeError: React.forwardRef is not a function

Expected behavior

Would expect the same behavior as loading the same source code in try.purescript.org editor.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment:

  • OS: [e.g. iOS]
  • Browser (if applicable): Chrome & Firefox
  • Node Version:
  • Spago Version:
  • PureScript Version:

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions