fish_redux 0.2.2

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 94

Fish Redux

Build Status pub package codecov

What is Fish Redux ? #

Fish Redux is an assembled flutter application framework based on Redux state management. It is suitable for building medium and large applications.

It has four characteristics:

  1. Functional Programming
  1. Predictable state container
  1. Pluggable componentization
  1. Non-destructive performance

Architecture diagram #

Installation #

Go

Documentation #

Language: English | 中文简体

Examples #

  • todo list - a simple todo list demo.
  • run it:
cd ./example
flutter create .
flutter run

What's the difference between 'Fish Redux' and 'Redux' ? #

Plugins #

Code Template #

Dev-Tools #

License #

  • Fish Redux is released under the Apache 2.0 license. See LICENSE for details.

[0.1.1]

  • fix hot-reload bug
  • add excluedSelf in broadcast
  • rename sample to example
  • rename docs to doc

[0.1.2]

  • add stfState field in Context #58
  • add batchedNotify feature in page-store
  • add some docs
  • correct spelling

[0.1.3]

  • add support for immutable-state #111
  • fix the same type of state component reuse in listview #107
  • remove warnings in logMiddleware for debug-actions #98
  • correct spelling
  • modify bindAction #73

[0.1.4]

  • add support for AppStore
  • add routes
  • move middleware/aop to the top dir
  • add PrivateReducerMixin
  • add reselect
  • add docs

[0.1.5]

  • fix bug if notified on building
  • reconstruct test
  • add mergeMiddleware$

[0.1.6]

  • fix bug if component has no reducer in app-routes
  • reconstruct createStore
  • app-routes's store to be visible

[0.1.7]

  • reconstruct mixed-store
  • reconstruct communication
  • rename appBroadcast to broadcast
  • rename pageBroadcast to broadcastEffect
  • add dispatch-bus
  • enhance dispatch-api
  • add some docs
  • move test to dev_dependencies

[0.1.8]

  • add api to subscribe app-store for page-store
  • add api to subscribe app-store for component
  • add viewMiddleware
  • add adapterMiddleware
  • add effectMiddleware
  • add protected attribute method, more friendly to OOP
  • remove debug_report

[0.1.9]

  • add mixed-store's batch notification feature

[0.2.0]

  • force update if driven by outside observable
  • fix inverter bugs & optimization connectStores api
  • modify the use of global state in example

[0.2.1]

  • add forceUpdate api on context
  • fix bug in adapter’s appear & disappear if items are recycled
  • fix bug in connectStores api if page has no reducer

[0.2.2]

  • add congruent conn
  • fields mainCtx & viewUpdater in ComponentState become public
  • fix bug when a store recived action after teardown

example/README.md

sample #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

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


dependencies:
  fish_redux: ^0.2.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:fish_redux/fish_redux.dart';
  
Version Uploaded Documentation Archive
0.2.2 Jun 11, 2019 Go to the documentation of fish_redux 0.2.2 Download fish_redux 0.2.2 archive
0.2.1 Jun 6, 2019 Go to the documentation of fish_redux 0.2.1 Download fish_redux 0.2.1 archive
0.2.0 May 31, 2019 Go to the documentation of fish_redux 0.2.0 Download fish_redux 0.2.0 archive
0.1.9 May 27, 2019 Go to the documentation of fish_redux 0.1.9 Download fish_redux 0.1.9 archive
0.1.8 May 21, 2019 Go to the documentation of fish_redux 0.1.8 Download fish_redux 0.1.8 archive
0.1.7 Apr 28, 2019 Go to the documentation of fish_redux 0.1.7 Download fish_redux 0.1.7 archive
0.1.6 Apr 15, 2019 Go to the documentation of fish_redux 0.1.6 Download fish_redux 0.1.6 archive
0.1.5 Apr 8, 2019 Go to the documentation of fish_redux 0.1.5 Download fish_redux 0.1.5 archive
0.1.4 Apr 7, 2019 Go to the documentation of fish_redux 0.1.4 Download fish_redux 0.1.4 archive
0.1.3 Mar 26, 2019 Go to the documentation of fish_redux 0.1.3 Download fish_redux 0.1.3 archive

All 13 versions...

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

We analyzed this package on Jun 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18
  • Flutter: 1.5.4-hotfix.2

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Maintenance issues and suggestions

Support latest dependencies. (-5 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test
test ^1.5.1
test_widgets