-
Notifications
You must be signed in to change notification settings - Fork 30
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
Restore Halogen recipes #306
Conversation
af8a950
to
42d3448
Compare
2088ecc
to
88bb42b
Compare
88bb42b
to
270c0f8
Compare
@@ -0,0 +1,5 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get rid of 'use strict' here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, it's not needed 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! |
Fixes #203
Restoring some broken Halogen recipes. The
DriverWebSocketsHalogenHooks
is adapted from the work in this PR purescript-halogen/purescript-halogen#804, consolidated to a single component to be TryPureScript-friendly, and using the-hooks
version of the component from the original recipe. Aside from that, the other recipes were fixed by just following the guidance of the changelog https://github.com/purescript-halogen/purescript-halogen/blob/master/docs/changelog/v6.md.Also made an unrelated change to fix the naming of a function in one of the
DogImages
recipes (randomCatGif
→randomDogImage
) 42d3448