Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Redux Clerk handles the async CRUD in your Redux App

License

NotificationsYou must be signed in to change notification settings

GetAmbassador/redux-clerk

Repository files navigation

CircleCInpm package

Redux Clerk handles the async CRUD in your Redux App.

  • Provides aset of action creators for both asynchronous and synchronous actions.
  • Provides anextendable reducer.
  • Handles derived datasets and providesselectors for computing derived data.
  • Stores minimum possible state.
  • Optionally handles optimistic updates to the store.
  • State is managed and stored as anImmutable.js data structure.
// The tidy, minimal state managed by Redux Clerk.{  // Full data objects are only stored once and never duplicated.  raw: {    '123': { uid: 123, name: 'Apple' },    '234': { uid: 234, name: 'Banana' },    '345': { uid: 345, name: 'Peach' }  },  // Redux Clerk stores derived datasets as Lists of UIDs.  instances: {    myTypeaheadDataset: ['234', '123'],    myTableDataset: ['345', '234'],    myListDataset: ['123', '234', '345']  }}

Installation

npm install redux-clerk --save

Configuration & Docs

Example

An example TodoMVC using Redux Clerk is available in theexample directory. To run the example:

git clone git@github.com:GetAmbassador/redux-clerk.gitcd redux-clerknpm installnpm run buildcd examplenpm install react-scripts -gnpm installnpm start

License

MIT

About

Redux Clerk handles the async CRUD in your Redux App

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp