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

A (Brief) History of Redux #101

Open
sedationh opened this issue Oct 21, 2024 · 0 comments
Open

A (Brief) History of Redux #101

sedationh opened this issue Oct 21, 2024 · 0 comments

Comments

@sedationh
Copy link
Owner

I've been looking into Redux lately, and its history is pretty interesting. I wanna jot down the main points here.

  • 2011: JS MVC Frameworks
    • MVC: AngularJS, Ember, and Backbone
    • Hard to predicte
  • 2014: Flux
    • Flux
      • all the state update logic would be semi-centralized
      • predictable
    • announced this "Flux Architecture" concept around 2014, didn't provide a full library that implemented that pattern. That led the React community to build dozens of Flux-inspired libraries with variations on the pattern.
  • 2015: The Birth of Redux
    • Redux: Flux + functional programming principles
    • The idea was to demonstrate "time-travel debugging" for a conference talk
    • React only had its legacy Context API, which had was basically broken: it couldn't properly pass updated values down
    • boilerplate
  • 2017: Ecosystem Competition
    • new React Context API
    • Redux wasn't nearly as "required" as it used to be
  • 2019: Redux Toolkit
    • Today, RTK is the standard way to write Redux logic. Like all tools, it has tradeoffs. RTK is probably going to be a bit more code to use than Zustand, but it also provides useful patterns for separating app logic from the UI.

https://redux.js.org/understanding/history-and-design/history-of-redux

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

1 participant