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

Move away from Reflux #3145

Closed
magicznyleszek opened this issue Apr 22, 2021 · 3 comments
Closed

Move away from Reflux #3145

magicznyleszek opened this issue Apr 22, 2021 · 3 comments
Assignees

Comments

@magicznyleszek
Copy link
Member

magicznyleszek commented Apr 22, 2021

Description

The situation is that React is alive and growing, but Reflux is dead since Feb 2017 (wow!). There are no plans for future of the project: reflux/refluxjs#550. We should move to some other library, as we will encounter more problems (e.g. currently we have a problem with npm 7+ dependency mismatch) and will be blocked with upgrading React and possibly other dependencies.

Redux seems to be a good candidate:

@magicznyleszek
Copy link
Member Author

@dorey did a research into switching to redux, and it seems we shouldn't go this way. @bufke suggested we should try going the react hooks way, and we will attempt that with new gallery 🤞

@bufke
Copy link
Contributor

bufke commented Apr 4, 2022

Anyone interested in this topic please review my draft gallery rewrite. I'm proposing a very redux-looking style with only react hooks (not actual redux). Now would be a great time to give feedback or suggest alternatives.

@magicznyleszek
Copy link
Member Author

FYI: We've decided to move to MobX. We have made few MobX stores already and we are planning to gradually refactor Reflux code into MobX. I'm closing this in favour of multiple different issues, each targeting a singular Reflux store to be refactored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants