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

RFC: Comparison / compatibility with Flux / Vuex #6

Open
davestewart opened this issue May 27, 2020 · 1 comment
Open

RFC: Comparison / compatibility with Flux / Vuex #6

davestewart opened this issue May 27, 2020 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@davestewart
Copy link
Owner

davestewart commented May 27, 2020

Background

Vue Class Store is fundamentally different from Vuex in that it doesn't have a wider state management methodology such as explicit one-way data flow, but it is designed to be easy to use and bridge the "shared state" gap between component state and full-Flux global state.

Many developers are used to working exclusively with Vuex – for all its benefits and drawbacks – and understandably have concerns about moving away from something tried and trusted.

Discussion (WIP)

This raises various questions, which should be explored.

Methodology:

  • does it / when does it matter if you don't use Flux-style one-way data flow?
  • what actually does it mean to have one-way data flow ?
  • is there a danger of setting yourself up for failure by moving away from flux?

Compatibility:

  • can VCS be used in conjunction with Vuex?
  • in what situations would it good or bad to replace Vuex?
  • should VCS have its own global state harness?

Differences:

  • what tools does Vuex have that would be missed by not using it?

Tooling:

  • Does the lack of an explicit DevTools panel matter?
  • What would be a good substitute?

Contributing

Please add any thoughts below as a comment, and I will update the list above as appropriate to for a TOC as it were.

@davestewart davestewart added help wanted Extra attention is needed question Further information is requested labels May 27, 2020
@davestewart
Copy link
Owner Author

The top comment thread on the Facebook Flux video linked above is interesting: https://youtu.be/nYkdrAPrdcw?t=624

@davestewart davestewart changed the title Discuss comparison / compatibility with Flux Vuex RFC: Comparison / compatibility with Flux / Vuex May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant