typescript-fsa-redux-middleware
TypeScript icon, indicating that this package has built-in type declarations

4.3.1 • Public • Published

TypeScript FSA Redux Middleware

Fluent syntax for defining typesafe Redux vanilla middlewares on top of typescript-fsa.

This library is inspired by typescript-fsa-reducers.

Introduction

The major usage of this library is as look like this:

import {middleware} from 'typescript-fsa-redux-middleware';

const middleware = middleware()
.case(fetchSomething.done, (api, next, action) => {
  // Do followup manipulation of the API access
})

.case(fetchSomething.failed, (api, next, action) => {
  // Do error handling
})

Sample Application

Let you check sample application on sample/ folder.

License

MIT

Copyright

Copyright (c) 2018-2019 Sony Corporation.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.3.112latest

Version History

VersionDownloads (Last 7 Days)Published
4.3.112
4.3.04
4.2.35
4.2.21
4.2.15
4.2.05
4.1.12
4.1.05
3.1.03
4.0.33
3.0.03
4.0.24
4.0.15
4.0.03

Package Sidebar

Install

npm i typescript-fsa-redux-middleware

Weekly Downloads

54

Version

4.3.1

License

MIT

Unpacked Size

53.1 kB

Total Files

72

Last publish

Collaborators

  • ahirun0426