Skip to content

React 18 + spago migrate #67

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

Closed
wants to merge 3 commits into from

Conversation

alenkis
Copy link

@alenkis alenkis commented Dec 10, 2023

Hi!

React DOM render is no longer supported in React 18, but unfortunately react-dom doesn't implement createRoot yet. This PR adds changes as proposed here: purescript-contrib/purescript-react-dom#29, and relies on FFI in the meantime.

Migrating to spago.yaml was also necessary for myself to use my fork, would this be desirable to merge?

@alenkis alenkis force-pushed the switch-to-createroot branch 2 times, most recently from e9466de to b695607 Compare December 10, 2023 20:52
@alenkis alenkis force-pushed the switch-to-createroot branch from b695607 to a521972 Compare December 10, 2023 20:54
@kalxd
Copy link

kalxd commented May 3, 2024

Is it ready to be merged ?

@ajnsit
Copy link
Member

ajnsit commented May 5, 2024

@alenkis Thanks for the PR! I would rather wait until the change is merged into purescript-react, rather than relying on FFI. Also spago-next is very experimental and I definitely don't want to remove support for the old spago dhall configs yet. I'm closing this for now, but we can revisit the situation later.

@ajnsit ajnsit closed this May 5, 2024
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.

3 participants