fbpx
Wikipedia

Redux (JavaScript library)

Redux is an open-source JavaScript library for managing and centralizing application state. It is most commonly used with libraries such as React or Angular for building user interfaces. Similar to (and inspired by) Facebook's Flux architecture, it was created by Dan Abramov and Andrew Clark. Since mid-2016, the primary maintainers are Mark Erikson and Tim Dorr.

Redux
Original author(s)Dan Abramov and Andrew Clark
Initial releaseJune 2, 2015; 8 years ago (2015-06-02)[1]
Stable release
4.2.1 / January 28, 2023; 10 months ago (2023-01-28)[2]
Repository
  • github.com/reduxjs/redux
Written inTypeScript
PlatformCross-platform software
TypeJavaScript library
LicenseMIT License
Websiteredux.js.org

Description edit

Redux is a small library with a simple, limited API designed to be a predictable container for application state. It operates in a fashion similar to a reducing function, a functional programming concept.

History edit

Redux was created by Dan Abramov and Andrew Clark in 2015.[3] Abramov began writing the first Redux implementation while preparing for a conference talk[4] at React Europe[5] on hot reloading. Abramov remarks, "I was trying to make a proof of concept of Flux where I could change the logic. And it would let me time travel. And it would let me reapply the future actions on the code change."[6]

Abramov was struck by the similarity of the Flux pattern with a reducing function. "I was thinking about Flux as a reduce operation over time... your stores, they accumulate state in response to these actions. I was thinking of taking this further. What if your Flux store was not a store but a reducer function?"[3]

Abramov reached out to Andrew Clark (author of the Flux implementation Flummox) as a collaborator. Among other things, he credits Clark with making the Redux ecosystem of tools possible, helping to come up with a coherent API, implementing extension points such as middleware and store enhancers.[3]

By mid 2016, Abramov had joined the React team and passed the primary maintainership on to Mark Erikson and Tim Dorr.[7]

In February 2019, useReducer was introduced as a React hook in the 16.8 release. It provides an API that is consistent with Redux, enabling developers to create Redux-like stores that are local to component states.[8]

See also edit

References edit

  1. ^ Initial release tag
  2. ^ "Releases – ReactJS/Redux". GitHub.
  3. ^ a b c Abramov, Dan. "The History of React and Flux with Dan Abramov". Three Devs and a Maybe. Retrieved 7 April 2018.
  4. ^ "Dan Abramov - Live React: Hot Reloading with Time Travel at react-europe 2015". Youtube.
  5. ^ "ReactEurope 2015 - Live React: Hot Reloading with Time Travel". ReactEurope.
  6. ^ Abramov, Dan. "Progression, Curiosity, and Burnout with Dan Abramov". TylerMcGinnis.com. Retrieved 7 April 2018.
  7. ^ Idiomatic Redux: The History and Implementation of React-Redux
  8. ^ React v16.8: The One with Hooks

External links edit

  • Official website
  • redux on GitHub

redux, javascript, library, redux, open, source, javascript, library, managing, centralizing, application, state, most, commonly, used, with, libraries, such, react, angular, building, user, interfaces, similar, inspired, facebook, flux, architecture, created,. Redux is an open source JavaScript library for managing and centralizing application state It is most commonly used with libraries such as React or Angular for building user interfaces Similar to and inspired by Facebook s Flux architecture it was created by Dan Abramov and Andrew Clark Since mid 2016 the primary maintainers are Mark Erikson and Tim Dorr ReduxOriginal author s Dan Abramov and Andrew ClarkInitial releaseJune 2 2015 8 years ago 2015 06 02 1 Stable release4 2 1 January 28 2023 10 months ago 2023 01 28 2 Repositorygithub wbr com wbr reduxjs wbr reduxWritten inTypeScriptPlatformCross platform softwareTypeJavaScript libraryLicenseMIT LicenseWebsiteredux wbr js wbr org Contents 1 Description 2 History 3 See also 4 References 5 External linksDescription editRedux is a small library with a simple limited API designed to be a predictable container for application state It operates in a fashion similar to a reducing function a functional programming concept History editRedux was created by Dan Abramov and Andrew Clark in 2015 3 Abramov began writing the first Redux implementation while preparing for a conference talk 4 at React Europe 5 on hot reloading Abramov remarks I was trying to make a proof of concept of Flux where I could change the logic And it would let me time travel And it would let me reapply the future actions on the code change 6 Abramov was struck by the similarity of the Flux pattern with a reducing function I was thinking about Flux as a reduce operation over time your stores they accumulate state in response to these actions I was thinking of taking this further What if your Flux store was not a store but a reducer function 3 Abramov reached out to Andrew Clark author of the Flux implementation Flummox as a collaborator Among other things he credits Clark with making the Redux ecosystem of tools possible helping to come up with a coherent API implementing extension points such as middleware and store enhancers 3 By mid 2016 Abramov had joined the React team and passed the primary maintainership on to Mark Erikson and Tim Dorr 7 In February 2019 useReducer was introduced as a React hook in the 16 8 release It provides an API that is consistent with Redux enabling developers to create Redux like stores that are local to component states 8 See also editUnidirectional data flowReferences edit Initial release tag Releases ReactJS Redux GitHub a b c Abramov Dan The History of React and Flux with Dan Abramov Three Devs and a Maybe Retrieved 7 April 2018 Dan Abramov Live React Hot Reloading with Time Travel at react europe 2015 Youtube ReactEurope 2015 Live React Hot Reloading with Time Travel ReactEurope Abramov Dan Progression Curiosity and Burnout with Dan Abramov TylerMcGinnis com Retrieved 7 April 2018 Idiomatic Redux The History and Implementation of React Redux React v16 8 The One with HooksExternal links edit nbsp Free and open source software portalOfficial website redux on GitHub Retrieved from https en wikipedia org w index php title Redux JavaScript library amp oldid 1187636205, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.