Gathering detailed insights and metrics for rematch-immer-combine-persist
Gathering detailed insights and metrics for rematch-immer-combine-persist
Gathering detailed insights and metrics for rematch-immer-combine-persist
Gathering detailed insights and metrics for rematch-immer-combine-persist
npm install rematch-immer-combine-persist
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
9 Commits
1 Watchers
10 Branches
1 Contributors
Updated on Mar 02, 2023
Latest Version
2.0.0
Package Id
rematch-immer-combine-persist@2.0.0
Unpacked Size
17.12 kB
Size
4.67 kB
File Count
16
NPM Version
6.14.5
Node Version
14.4.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
rematch-immer-combine-persist
?Combine immer
and persist
Can use with @rematch/loading
(@rematch/immer
can't)
1npm i rematch-immer-combine-persist -S
1interface ImmerOptions { 2 blacklist?: string[] 3 whitelist?: string[] 4} 5 6interface PersistOptions<S, RS, HSS, ESS> { 7 persistConfig?: Partial<PersistConfig<S, RS, HSS, ESS>> 8 persistorOptions?: PersistorOptions | null 9 callback?: () => any 10} 11 12interface PluginOptions<S, RS, HSS, ESS> { 13 immerOptions?: ImmerOptions 14 persistOptions?: PersistOptions<S, RS, HSS, ESS> 15}
Basic Usage
1// store.js 2import { init } from '@rematch/core' 3import immerCombinePersist from 'rematch-immer-combine-persist' 4import * as models from './models' 5 6const store = init({ 7 models, 8 plugins: [ 9 immerCombinePersist() 10 ] 11}) 12 13export default store
1// index.js 2import React from 'react' 3import ReactDOM from 'react-dom' 4import { Provider } from 'react-redux' 5import { PersistGate } from 'redux-persist/integration/react' 6import { getPersistor } from 'rematch-immer-combine-persist' 7import store from './store' 8import App from './App' 9 10const persistor = getPersistor() 11 12ReactDOM.render( 13 <Provider store={store}> 14 <PersistGate persistor={persistor}> 15 <App /> 16 </PersistGate> 17 </Provider>, 18 document.getElementById('root') 19)
Use with @rematch/loading
1// store.js 2import { init } from '@rematch/core' 3import loading '@rematch/loading' 4import immerCombinePersist from 'rematch-immer-combine-persist' 5import * as models from './models' 6 7const store = init({ 8 models, 9 plugins: [ 10 loading(), 11 immerCombinePersist({ 12 immerOptions: { 13 blacklist: ['loading'] 14 } 15 }) 16 ] 17}) 18 19export default store
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
27 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More