redux-localstorage-filter

WebJar for redux-localstorage-filter

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

redux-localstorage-filter
Последняя версия

Последняя версия

0.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

redux-localstorage-filter
WebJar for redux-localstorage-filter
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/elgerlambert/redux-localstorage-filter

Скачать redux-localstorage-filter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/redux-localstorage-filter/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>redux-localstorage-filter</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/redux-localstorage-filter/
implementation 'org.webjars.npm:redux-localstorage-filter:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/redux-localstorage-filter/
implementation ("org.webjars.npm:redux-localstorage-filter:0.1.1")
'org.webjars.npm:redux-localstorage-filter:jar:0.1.1'
<dependency org="org.webjars.npm" name="redux-localstorage-filter" rev="0.1.1">
  <artifact name="redux-localstorage-filter" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='redux-localstorage-filter', version='0.1.1')
)
libraryDependencies += "org.webjars.npm" % "redux-localstorage-filter" % "0.1.1"
[org.webjars.npm/redux-localstorage-filter "0.1.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

redux-localstorage-filter

Storage enhancer to persist a subset of your state.

license npm version npm downloads

Installation

npm install --save redux-localstorage-filter

Usage

const storage = compose(
  filter('nested.key'),
)(adapter(localStorage));

For more information on using storage enhancers check out redux-localstorage

API

filter(paths)

type paths = Array<String> | String

A path is a string that points to the property key of your redux store that you would like to persist. In order to specify a nested key separate the keys that make up the full path with fullstops (.). Specify multiple paths by passing in an Array:

filter(['key', 'another.key']),

License

MIT

Версии библиотеки

Версия
0.1.1