redux_persist_web 0.4.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 68

redux_persist_web pub package

Web Storage Engine for redux_persist.

Saves to localStorage.

Usage

final persistor = new Persistor<AppState>(
  // ...
  storage: new WebStorage("my-app"),
);

Features and bugs

Please file feature requests and bugs at the issue tracker.

[0.4.2] - 2018-03-14

  • Fix library export.

[0.4.1] - 2018-03-10

  • Fix Future returning.

[0.4.0] - 2018-03-10

  • Initial decoupling.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  redux_persist_web: ^0.4.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:redux_persist_web/redux_persist_web.dart';
  
Version Uploaded Documentation Archive
0.4.3 Aug 10, 2018 Go to the documentation of redux_persist_web 0.4.3 Download redux_persist_web 0.4.3 archive
0.4.2 Mar 14, 2018 Go to the documentation of redux_persist_web 0.4.2 Download redux_persist_web 0.4.2 archive
0.4.1 Mar 10, 2018 Go to the documentation of redux_persist_web 0.4.1 Download redux_persist_web 0.4.1 archive
0.4.0 Mar 10, 2018 Go to the documentation of redux_persist_web 0.4.0 Download redux_persist_web 0.4.0 archive
0.8.0-rc.0 Nov 6, 2018 Go to the documentation of redux_persist_web 0.8.0-rc.0 Download redux_persist_web 0.8.0-rc.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
47
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
68
Learn more about scoring.

We analyzed this package on Oct 26, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.5

Platforms

Detected platforms: web

Primary library: package:redux_persist_web/redux_persist_web.dart with components: html, io.

Maintenance suggestions

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use redux_persist_web.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
redux_persist ^0.7.0 0.7.0
Transitive dependencies
redux 3.0.0