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

Remove unnecessary Unsafe.Coerce usage #276

Conversation

pete-murphy
Copy link
Collaborator

Slight refactor to get rid of the homespun toDragEvent here and remove the usage of Unsafe.Coerce.coerce. I wasn't aware of React.Basic.DOM.Events.nativeEvent at the time.

@pete-murphy
Copy link
Collaborator Author

Hmm getting a couple of errors in CI:

🚨  /home/travis/build/JordanMartinez/purescript-cookbook/recipes/HelloLog/web/index.js: Invalid Version: undefined

and

🚨  /home/travis/build/JordanMartinez/purescript-cookbook/recipes/ButtonsHalogenHooks/web/index.js: Invalid Version: undefined

@pete-murphy
Copy link
Collaborator Author

pete-murphy commented Apr 24, 2021

Seems to be an issue with parcel-bundler, the author recommends upgrading to v2 here parcel-bundler/parcel#5943 (comment), I'll see if that helps.

Edit: I went with a patch-version upgrade to v1.12.5, since it seems v2 is still in beta.

@pete-murphy pete-murphy force-pushed the @ptrfrncsmrph/fix-to-drag-event-impl branch from 1c39c7b to 5f91cdb Compare April 24, 2021 23:38
@pete-murphy pete-murphy force-pushed the @ptrfrncsmrph/fix-to-drag-event-impl branch from 5f91cdb to 1a769ca Compare April 24, 2021 23:41
@JordanMartinez JordanMartinez merged commit 2b83541 into JordanMartinez:master Apr 25, 2021
@pete-murphy pete-murphy deleted the @ptrfrncsmrph/fix-to-drag-event-impl branch April 25, 2021 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants