3.0.7 • Published 1 month ago

@uppy/store-redux v3.0.7

Weekly downloads
13,200
License
MIT
Repository
github
Last release
1 month ago

@uppy/store-redux

The ReduxStore stores Uppy state on a key in an existing Redux store. The ReduxStore dispatches uppy/STATE_UPDATE actions to update state. When the state in Redux changes, it notifies Uppy. This way, you get most of the benefits of Redux, including support for the Redux Devtools and time traveling!

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

import { combineReducers, createStore } from 'redux'
import Uppy from '@uppy/core'
import ReduxStore from '@uppy/store-redux'
import reducers from './reducers'

const reducer = combineReducers({
  ...reducers,
  uppy: ReduxStore.reducer,
})

const store = createStore(reducer)

const uppy = new Uppy({
  store: ReduxStore({
    store,
  }),
})

Installation

$ npm install @uppy/store-redux

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.

4.0.0-beta.1

1 month ago

3.0.7

2 months ago

3.0.6

2 months ago

3.0.4

7 months ago

3.0.3

1 year ago

3.0.5

6 months ago

3.0.0-beta.3

2 years ago

3.0.0-beta.2

2 years ago

2.1.1

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

3.0.0-beta.1

2 years ago

2.1.0

2 years ago

3.0.0-beta

2 years ago

2.0.3

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

2.0.0-alpha.0

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

0.28.3

5 years ago

0.28.2

5 years ago

0.28.1

5 years ago

0.28.0

5 years ago

0.27.1

5 years ago

0.27.0

6 years ago

0.26.0

6 years ago