Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
examples/count
src
test
.npmignore update updated plugin to ts & rollup Nov 27, 2017
README.md
index.d.ts
package-lock.json cleanup plugin package.json's to use current @rematch/core Apr 7, 2018
package.json
rollup.config.js update plugins Jan 19, 2018
tsconfig.json Improve TypeScript integration May 7, 2018

README.md

Updated

Rematch plugin for maintaining timestamps when an effect is triggered.

Updated is primarily used for optimizing effects. It can be used to:

  • prevent expensive fetch requests within a certain time period
  • throttle effects

Install

npm install @rematch/updated

For @rematch/core@0.x use @rematch/updated@0.1.5

Setup

import updatedPlugin from '@rematch/updated'

const updated = updatedPlugin()

init({
  models,
  plugins: [updated],
})