All Projects → davidmarne → flutter_built_redux

davidmarne / flutter_built_redux

Licence: MIT license
Built_redux provider for Flutter.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to flutter built redux

Freeze
An immutability helper for Go
Stars: ✭ 117 (+44.44%)
Mutual labels:  immutability
Chaos
The Chaos Programming Language
Stars: ✭ 171 (+111.11%)
Mutual labels:  immutability
immutable-cursor
👊 Immutable cursors incorporating the Immutable.js interface over a Clojure-inspired atom
Stars: ✭ 58 (-28.4%)
Mutual labels:  immutability
Built redux
an implementation of redux written in dart that enforces immutability
Stars: ✭ 126 (+55.56%)
Mutual labels:  immutability
Http4k
The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
Stars: ✭ 1,883 (+2224.69%)
Mutual labels:  immutability
Paguro
Generic, Null-safe, Immutable Collections and Functional Transformations for the JVM
Stars: ✭ 231 (+185.19%)
Mutual labels:  immutability
Immutable Tuple
Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
Stars: ✭ 29 (-64.2%)
Mutual labels:  immutability
Immutype
Immutability is easy!
Stars: ✭ 26 (-67.9%)
Mutual labels:  immutability
Redhooks
Predictable state container for React apps written using Hooks
Stars: ✭ 149 (+83.95%)
Mutual labels:  immutability
php-validation-dsl
A DSL for validating data in a functional fashion
Stars: ✭ 47 (-41.98%)
Mutual labels:  immutability
Pure Store
A tiny immutable store with type safety.
Stars: ✭ 133 (+64.2%)
Mutual labels:  immutability
Z
Pattern Matching for Javascript
Stars: ✭ 1,693 (+1990.12%)
Mutual labels:  immutability
Phunctional
⚡️ λ PHP functional library focused on simplicity and performance
Stars: ✭ 243 (+200%)
Mutual labels:  immutability
Lasca Compiler
Lasca is Scala shifted towards Haskell.
Stars: ✭ 121 (+49.38%)
Mutual labels:  immutability
ftor
ftor enables ML-like type-directed, functional programming with Javascript including reasonable debugging.
Stars: ✭ 44 (-45.68%)
Mutual labels:  immutability
Immutability Helper X
The library extends the kolodny/immutability-helper to support update data by path string, like the get/set in lodash.
Stars: ✭ 86 (+6.17%)
Mutual labels:  immutability
Ipmjs
Immutable Package Manager
Stars: ✭ 191 (+135.8%)
Mutual labels:  immutability
functional-js
Functional Programming in JavaScript
Stars: ✭ 18 (-77.78%)
Mutual labels:  immutability
react-mlyn
react bindings to mlyn
Stars: ✭ 19 (-76.54%)
Mutual labels:  immutability
UnderstandingLanguageExt
This is a tutorial that aims to demonstrate the practical fundamentals behind using LanguageExt in a fashion though step-by-step tutorials which introduce and then build up on concepts.
Stars: ✭ 73 (-9.88%)
Mutual labels:  immutability

Pub codecov.io

flutter_built_redux

built_redux bindings for Flutter.

By creating a Widget that extends StoreConnector you get automatic subscribing to your redux store, and you component will only call setState when the store triggers and the values you take from the store in connect change!

Examples

counter example

todo_mvc, written by Brian Egan

Why you may need flutter_built_redux

For the same reason you would want to use redux with react.

from the flutter tutorial:

In Flutter, change notifications flow “up” the widget hierarchy by way of callbacks, while current state flows “down” to the stateless widgets that do presentation.

Following this pattern requires you to send any state or state mutator callbacks that are common between your widgets down from some common ancestor.

With larger applications this is very tedious, leads to large widget constructors, and this pattern causes flutter to rerun the build function on all widgets between the ancestor that contains the state and the widget that actually cares about it. It also means your business logic and network requests live in your widget declarations.

built_redux gives you a predicable state container that can live outside your widgets and perform logic in action middleware.

flutter_built_redux lets a widget to subscribe to the pieces of the redux state tree that it cares about. It also lets lets widgets dispatch actions to mutate the redux state tree. This means widgets can access and mutate application state without the state and state mutator callbacks being passed down from its ancestors!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].