How to use @rematch/updated - 1 common examples

To help you get started, we’ve selected a few @rematch/updated examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rematch / rematch / plugins / updated / examples / count / src / index.js View on Github external
import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import { init } from '@rematch/core'
import createUpdatedPlugin from '@rematch/updated'
import App from './App'
import * as models from './models'

// create plugin
const updated = createUpdatedPlugin()

const store = init({
	models,
	plugins: [updated], // add to plugin list
})

ReactDOM.render(
	
		
	,
	document.getElementById('root')
)

@rematch/updated

Rematch plugin for maintaining timestamps when effects are called

MIT
Latest version published 2 years ago

Package Health Score

62 / 100
Full package analysis

Popular @rematch/updated functions