19 repository-uri
Interceptors that wrap the action dispatch process to handle side effects and logging.
Distinct from Request Interception Middleware: Focuses on the dispatch of state actions rather than network requests or property getters/setters.
Explore 19 awesome GitHub repositories matching software engineering & architecture · Action Dispatch Middleware. Refine with filters or upvote what's useful.
Redux-thunk is a middleware for Redux that enables action creators to return functions instead of plain objects. It serves as an asynchronous state management tool and functional action dispatcher that coordinates complex workflows and delays state updates until asynchronous tasks are complete. This middleware grants action creators access to the store state and dispatch methods, allowing for the execution of conditional logic and the coordination of multiple asynchronous operations. It enables the injection of custom dependencies and service layers to decouple business logic from the core st
Wraps the store dispatch method to determine if an action should be executed as a function or processed as a standard object.
Dva is a framework for building web applications that integrates React and Redux. It utilizes a model-driven architecture to organize application logic, centralizing state management into cohesive modules that encapsulate reducers, asynchronous effects, and event subscriptions. The framework distinguishes itself through a plugin system that intercepts the action dispatch cycle to automate cross-cutting concerns such as loading state tracking. It also provides a development environment that supports hot module replacement, allowing for the updating of components, routes, and state models in th
Intercepts the action dispatch cycle to inject cross-cutting logic like logging or loading state tracking into the application flow.
Redux Toolkit is a state management toolkit and store configurator designed to simplify the development of Redux applications by reducing boilerplate code. It functions as an immutable state manager and a centralized store configuration system that provides a streamlined workflow for managing global application state. The project distinguishes itself through an automated async action orchestrator that manages the lifecycle of promises by automatically dispatching pending, fulfilled, and rejected actions. It also acts as a normalized state organizer, providing tools to structure complex relati
Automatically generates pending, fulfilled, and rejected action types based on the outcome of asynchronous promises.
Rematch is a Redux state management framework and model orchestrator designed to organize application state into cohesive units. It functions as an asynchronous state workflow manager that bundles reducers and side effects into modular models to reduce the boilerplate typically required for Redux implementations. The framework provides an extensible plugin architecture for injecting custom behavior and configuration into the store lifecycle. It supports a multi-store application architecture, allowing for the creation and management of several independent state containers within a single appl
Allows attaching contextual data to action payloads during dispatch to provide additional context for handlers.
ReSwift is a unidirectional data flow framework for Swift applications that centralizes state management within a single store. It ensures predictable and traceable updates by requiring all state modifications to occur through explicit actions processed by reducer functions. The library includes a state time travel debugger that records and replays sequences of actions to reload or rewind the application state. It also provides an asynchronous action dispatcher to handle side effects and network requests while maintaining synchronized state updates. The framework covers a broad surface of st
Wraps the dispatch process to execute side effects, logging, or asynchronous tasks before state updates.
The agent-framework is an LLM agent orchestration framework and multi-agent workflow engine designed for building autonomous AI agents. It provides a tool integration layer for binding external functions, APIs, and sandboxed code as executable tools for language models. The framework distinguishes itself through a graph-based system for designing sequential and parallel task flows, featuring state management and checkpointing for long-running processes. It implements comprehensive conversational state management and an observability suite that uses telemetry to trace execution flows and monit
Applies middleware to agent operations to implement telemetry, safety mitigations, and business logic.
MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera
Hooks into action execution to log, modify, or cancel state changes for auditing, validation, or cross-cutting concerns.
redux-actions is a toolkit for producing standardized action objects, mapping reducers to handlers, and orchestrating state management logic. It serves as an action creator library and reducer mapping tool designed to ensure consistent action structures across a system. The project implements the Flux Standard Action specification, generating objects with consistent type, payload, and error properties. It provides utilities to bundle related action creators into organized objects and wraps functions to automatically inject constant action types into the resulting objects. The library simplif
Ensures compatibility across the state management system by adhering to the Flux Standard Action specification.
Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a distributed service broker, task orchestrator, and service mesh framework, enabling a decentralized architecture with built-in service discovery and load balancing. The project differentiates itself through a pluggable transport layer supporting protocols such as NATS, Redis, TCP, and Kafka, as well as a dedicated microservices API gateway that maps external HTTP and WebSocket requests to internal service actions. It includes built-in fault tolerance mechanisms, including circuit breake
Provides middleware hooks to intercept and manipulate the start and finish of service action lifecycles.
Highly scalable realtime pub/sub and RPC framework
Reads metadata from realtime actions to inform middleware decisions about routing and authorization.
Build Offline-First Apps for Web and React Native
Intercepts dispatched actions to wrap them with offline metadata and queue them for replay when connectivity returns.
redux-logger is a Redux state logger and JavaScript state debugger designed to record actions and state transitions in the browser console. It functions as middleware that captures state changes and action payloads within a Redux store to assist in debugging application flow. The project provides a console log formatter to customize the appearance of logs using colors, timestamps, and execution durations. It allows for the restriction of recorded actions through custom predicates to reduce console noise and includes capabilities to transform complex state data into readable formats. The tool
Functions as middleware that intercepts the Redux dispatch process to record actions and state transitions.
redux-logger is a state management debugger and logger that operates as Redux middleware. It records actions and state transitions directly to the browser console to facilitate the monitoring of application state changes. The tool provides a mechanism to reduce console noise through action filters that use custom predicates to determine which events are recorded. It also includes a data transformation pipeline to sanitize or modify state and actions before they are output. The project covers observability capabilities including formatted console output with timestamps and colors, synchronous
Hooks into the Redux dispatch pipeline as middleware to capture actions and state transitions.
This project is a Redux state logger and console debugging tool. It functions as middleware for the Redux dispatch pipeline, acting as a state transition tracker that records actions and state changes directly to the browser console. The tool allows for the interception of actions to log timing, payloads, and state transitions. It provides capabilities to filter specific actions using predicate functions to reduce noise and transform complex state or immutable data into readable formats for easier inspection. The utility includes options for customizing console output through timestamps, col
Implements a middleware that intercepts the Redux dispatch process to record actions and state changes.
This is a demonstration application built with React and Redux that implements a full-featured article publishing platform with user authentication and social interactions. The application serves as a reference implementation showing how to structure a real-world CRUD application using these technologies, covering the complete workflow from user registration through content creation and community engagement. The application implements a complete JWT-based authentication system that persists tokens in browser local storage and attaches them to API requests, alongside a structured approach to m
Intercepts dispatched actions with promise payloads and dispatches start and end lifecycle events automatically.
connected-react-router este un instrument de sincronizare care leagă starea React Router și istoricul browserului de un store Redux. Acesta mapează informațiile de rutare și parametrii URL într-un arbore de stare global, permițând aplicației să gestioneze navigarea printr-un flux de date unidirecțional. Biblioteca permite declanșarea navigării prin trimiterea de acțiuni, în loc de apelarea metodelor imperative de istoric. Această abordare bazată pe middleware permite inițierea actualizărilor URL din logica de business sau din procese asincrone. Sistemul sincronizează locația curentă, hash-ul și parametrii de căutare în starea globală pentru acces în toate componentele. Prin stocarea modificărilor de rutare în arborele de stare, acesta suportă integrarea stării imutabile și capacitatea de a depana navigarea prin time travel în istoricul rutelor.
Uses action dispatch middleware to trigger route changes like pushing or replacing browser locations.
This library provides a framework for building type-safe server actions within Next.js, focusing on end-to-end validation and structured communication between the client and server. It wraps standard server functions to inject schema-based input validation, ensuring that only correctly formatted data reaches backend logic while providing consistent, typed error reporting for client-side consumption. The project distinguishes itself through a robust middleware orchestration system that allows developers to execute sequences of logic—such as authentication, logging, or data transformation—befor
Hooks into the lifecycle of server actions to track execution status and report transitions before UI updates.
Data-client is an asynchronous state management library designed to synchronize server data with frontend applications. It functions as a normalized cache manager that maps complex API responses into structured, relational entities, ensuring data consistency across the entire application. By providing a unified communication layer, the library supports both REST and GraphQL, allowing developers to bind network data directly to user interface components through declarative hooks. The library distinguishes itself through a robust architecture for optimistic user interface development, where loc
Intercepts and transforms data operations to inject custom logic for authentication, logging, or specialized network protocol handling.
Acest proiect este un SDK de mesagerie pentru aplicații Android, oferind infrastructura de bază pentru comunicarea în timp real folosind Kotlin și Jetpack Compose. Oferă o suită de componente UI declarative, modulare și un API conectat la backend pentru a gestiona autentificarea utilizatorilor, conexiunile persistente prin socket și sincronizarea datelor. SDK-ul se distinge prin arhitectura sa offline-first, care utilizează persistența bazei de date locale pentru a stoca istoricul conversațiilor și a pune în coadă acțiunile utilizatorului pentru sincronizare odată ce conectivitatea la rețea este restabilită. Dezvoltatorii pot personaliza experiența de mesagerie printr-o interfață de tip factory care permite suprascrierea elementelor vizuale implicite, a comportamentelor de interacțiune și a temelor sistemului de design pentru a se potrivi cerințelor specifice ale aplicației. Platforma acoperă o gamă largă de capabilități de mesagerie, inclusiv gestionarea canalelor, indicatori de activitate în timp real și gestionarea conținutului bogat, cum ar fi parsarea markdown și atașamentele media. De asemenea, se integrează cu serviciile de notificare mobilă pentru a alerta utilizatorii cu privire la activitate în timp ce aplicația este în fundal.
Buffers messages and reactions sent while disconnected and automatically synchronizes them upon network restoration.