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

Support for elmish with commands #8

Open
OnurGumus opened this issue Aug 12, 2020 · 2 comments
Open

Support for elmish with commands #8

OnurGumus opened this issue Aug 12, 2020 · 2 comments

Comments

@OnurGumus
Copy link

Currently, I am seeing elmish is based on a simple elmish loop without commands. It would be nice if full elmish with commands are supported.

@Shmew
Copy link
Owner

Shmew commented Aug 12, 2020

Yeah currently it's not elmish as much as the traditional React reducer pattern. I originally had full elmish support, but it's not quite compatible with Recoil and can lead to race condition issues. This is especially the case when React concurrent mode is released, which Recoil will be compatible.

They're currently working on a way to support effects within the context of Recoil that I'm hoping will solve this problem.

Repository owner deleted a comment from github-actions bot Oct 12, 2020
@Shmew
Copy link
Owner

Shmew commented Nov 7, 2020

AtomEffects are released now, but I'll need to give it some thought as to how (if) this can be done. In the mean time this might help.

Repository owner deleted a comment from github-actions bot Jan 7, 2021
Repository owner deleted a comment from github-actions bot Mar 9, 2021
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

No branches or pull requests

2 participants