redux-logic - Redux middleware for organizing all your business logic

  •        27

Use the type of code you and your team are comfortable and experienced with. Testing your logic is straight forward and simple. redux-logic-test provides additional utilities to make testing a breeze.

https://github.com/jeffbski/redux-logic

Dependencies:

is-observable : ^0.2.0
is-promise : ^2.1.0
loose-envify : ^1.2.0
rxjs : ^5.0.3

Tags
Implementation
License
Platform

   




Related Projects

redux-observable - RxJS middleware for action side effects in Redux using "Epics"

  •    Javascript

RxJS 5-based middleware for Redux. Compose and cancel async actions to create side effects and more.This has peer dependencies of rxjs@5.x.x and redux, which will have to be installed as well.

redux-promise-middleware - Enables simple, yet robust handling of async action creators in Redux

  •    Javascript

Redux Promise Middleware enables simple, yet robust handling of async action creators in Redux. Given a single action with an async payload, the middleware transforms the action to a separate a pending action and a separate fulfilled/rejected action, representing the states of the async action.

redux-pack - Sensible promise handling and middleware for redux

  •    Javascript

redux-pack is a library that introduces promise-based middleware that allows async actions based on the lifecycle of a promise to be declarative. Async actions in redux are often done using redux-thunk or other middlewares. The problem with this approach is that it makes it too easy to use dispatch sequentially, and dispatch multiple "actions" as the result of the same interaction/event, where they probably should have just been a single action dispatch.

redux-cycles - Bring functional reactive programming to Redux using Cycle.js

  •    Javascript

Handle redux async actions using Cycle.js. Then use createCycleMiddleware() which returns the redux middleware function with two driver factories attached: makeActionDriver() and makeStateDriver(). Use them when you call the Cycle run function (can be installed via npm install --save @cycle/run).

redux-promise - FSA-compliant promise middleware for Redux.

  •    Javascript

FSA-compliant promise middleware for Redux. The default export is a middleware function. If it receives a promise, it will dispatch the resolved value of the promise. It will not dispatch anything if the promise rejects.


redux-logger - Logger for Redux

  •    Javascript

LogRocket is a production Redux logging tool that lets you replay problems as if they happened in your own browser. Instead of guessing why errors happen, or asking users for screenshots and log dumps, LogRocket lets you replay Redux actions + state, network requests, console logs, and see a video of what the user saw. Note: logger must be the last middleware in chain, otherwise it will log thunk and promise, not actual actions (#20).

rekit - IDE and toolkit for building scalable web applications with React, Redux and React-router

  •    Javascript

Rekit is a toolkit for building scalable web applications with React, Redux and React-router. It's an all-in-one solution for creating modern React apps. It helps you focus on business logic rather than dealing with massive libraries, patterns, configurations etc.

katana-swift - Swift Apps in a Swoosh! A modern framework for creating iOS apps, inspired by Redux.

  •    Swift

Katana is a modern Swift framework for writing iOS applications business logic that are testable and easy to reason about. Katana is strongly inspired by Redux. In few words, the app state is entirely described by a single serializable data structure, and the only way to change the state is to dispatch an action. An action is an intent to transform the state, and contains all the information to do so. Because all the changes are centralized and are happening in a strict order, there are no subtle race conditions to watch out for.

redux-api-middleware - Redux middleware for calling an API.

  •    Javascript

Redux middleware for calling an API. This middleware receives Redux Standard API-calling Actions (RSAAs) and dispatches Flux Standard Actions (FSAs) to the next middleware.

redux-promise - FSA-compliant promise middleware for Redux.

  •    Javascript

FSA-compliant promise middleware for Redux.

reclare - Declarative State and Logic Management

  •    Javascript

Reclare is a lightweight library to manage the application state alongside business logic, without compromising from the predictability of the state. It is inspired by Redux and the Elm architecture and includes many of the familiar concepts. Upon the broadcast of increment, the first declaration will be invoked. It will increment the counter and log the updated number. decrement event hits two declarations. First one only invokes when the counter is greater than zero and decrements the counter. Second one invokes when counter is zero, and alerts the error message.

redux-rx - RxJS utilities for Redux.

  •    Javascript

selectState() should return a sequence of props that can be passed to the child. This provides a great integration point for sideways data-loading. Pretty simple, right? Notice how there are no event handlers to clean up, no componentWillReceiveProps(), no setState. Everything is just a sequence.

universal-redux-template - A clean, extensible react + redux boilerplate with universal/isomorphic rendering, testing and more

  •    Javascript

To bootstrap a React app development environment is not an easy task, there are so many libraries to setup, including webpack, babel, testing stuff and others. I'd like this boilerplate to be a ready-to-use one with the essential tools and the simplest logic that just work to build a universal rendering React + Redux app. That's why there is no fancy stuff in this app, since it's a basis of your killer app rather than a showcase one.

redux-loop - A library that ports Elm's effect system to Redux

  •    Javascript

A port of the Elm Architecture to Redux that allows you to sequence your effects naturally and purely by returning them from your reducers. Yes! Absolutely.

redux-thunk - Thunk middleware for Redux

  •    Javascript

Thunk middleware for Redux. As you can see, it also requires .default at the end.

redux-saga-test-plan - Test Redux Saga with an easy plan.

  •    Javascript

Redux Saga Test Plan makes testing sagas a breeze. Whether you need to test exact effects and their ordering or just test your saga put's a specific action at some point, Redux Saga Test Plan has you covered. Redux Saga Test Plan aims to embrace both integration testing and unit testing approaches to make testing your sagas easy.

tempura-swift - A holistic approach to iOS development, inspired by Redux and MVVM

  •    Swift

Tempura is a holistic approach to iOS development, it borrows concepts from Redux (through Katana) and MVVM. Tempura uses Katana to handle the logic of your app. Your app state is defined in a single struct.

redux-ecosystem-links - A categorized list of Redux-related addons, libraries, and utilities

  •    

A categorized list of addon libraries for Redux, as well as other libraries that are closely related. This page overlaps with the Ecosystem page in the Redux documentation, and the Awesome-Redux list, but is much more comprehensive and includes more categories.

redux-test-recorder - a redux middleware to automatically generate tests for reducers through ui interaction

  •    Javascript

Redux test recorder is a redux middleware for automatically generating tests for your reducers based on the actions in your app. Currently I've written redux-test-recorder-react a component to provide a gui for recording tests in react but I'm hopeful recording components for other frameworks can be created in the future. Also take a look at our latest build which currently runs a test generated using this module by taking advantage of the eval command. For a better idea of what is going on, you can take a look at the test file here.