redux_persist_web 0.4.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 57

redux_persist_web pub package

Web Storage Engine for redux_persist.

Saves to localStorage.

Usage

var 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.2"

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.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

Analysis

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

  • Dart: 2.0.0-dev.54.0
  • pana: 0.11.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
14 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
57
Learn more about scoring.

Platforms

Detected platforms: web

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

Suggestions

  • The description is too short.

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

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    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 >=1.24.0 <2.0.0
redux_persist ^0.4.0 0.4.0 0.6.0
Transitive dependencies
redux 2.1.1 3.0.0