18 Repos
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 18 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 ist ein Redux-State-Logger und JavaScript-State-Debugger, der dazu entwickelt wurde, Aktionen und Zustandsübergänge in der Browser-Konsole aufzuzeichnen. Er fungiert als Middleware, die Zustandsänderungen und Aktions-Payloads innerhalb eines Redux-Stores erfasst, um beim Debugging des Anwendungsflusses zu unterstützen. Das Projekt bietet einen Konsolen-Log-Formatter zur Anpassung des Erscheinungsbildes der Logs mittels Farben, Zeitstempeln und Ausführungsdauern. Es ermöglicht die Einschränkung aufgezeichneter Aktionen durch benutzerdefinierte Prädikate, um das Rauschen in der Konsole zu reduzieren, und enthält Funktionen zur Transformation komplexer Zustandsdaten in lesbare Formate. Das Tool deckt das Frontend-Error-Tracking ab, indem es Fehler abfängt und protokolliert, die durch bestimmte Aktionen ausgelöst wurden. Zudem ermöglicht es die Analyse von Zustandsübergängen durch die Aufzeichnung der resultierenden Zustandsaktualisierungen nach ausgelösten Aktionen.
Functions as middleware that intercepts the Redux dispatch process to record actions and state transitions.
redux-logger ist ein Debugger und Logger für das State-Management, der als Redux-Middleware arbeitet. Er zeichnet Aktionen und Zustandsübergänge direkt in der Browser-Konsole auf, um die Überwachung von Anwendungszustandsänderungen zu erleichtern. Das Tool bietet einen Mechanismus zur Reduzierung von Konsolenrauschen durch Aktionsfilter, die benutzerdefinierte Prädikate verwenden, um zu bestimmen, welche Ereignisse aufgezeichnet werden. Es enthält zudem eine Datentransformations-Pipeline, um Zustände und Aktionen vor der Ausgabe zu bereinigen oder zu modifizieren. Das Projekt deckt Observability-Funktionen ab, einschließlich formatierter Konsolenausgabe mit Zeitstempeln und Farben, synchronem State-Snapshotting zur Berechnung von Änderungen sowie das Abfangen von Store-Fehlern, um Ausnahmen mit spezifischen auslösenden Aktionen zu verknüpfen.
Hooks into the Redux dispatch pipeline as middleware to capture actions and state transitions.
Dieses Projekt ist ein Redux-State-Logger und Konsolen-Debugging-Tool. Es fungiert als Middleware für die Redux-Dispatch-Pipeline und agiert als Tracker für Zustandsübergänge, der Aktionen und Zustandsänderungen direkt in der Browser-Konsole aufzeichnet. Das Tool ermöglicht das Abfangen von Aktionen, um Timing, Payloads und Zustandsübergänge zu protokollieren. Es bietet Funktionen zum Filtern spezifischer Aktionen mittels Prädikat-Funktionen, um Rauschen zu reduzieren und komplexe Zustands- oder unveränderliche Daten für eine einfachere Inspektion in lesbare Formate zu transformieren. Das Utility enthält Optionen zur Anpassung der Konsolenausgabe durch Zeitstempel, Farben und Dauer-Tracking. Es erfasst zudem Fehler während des Aktionsverarbeitungszyklus, um den Fehlerkontext aufzuzeichnen und gleichzeitig den Debugging-Pfad zu bewahren.
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 ist ein Synchronisationstool, das den Status von React Router und den Browserverlauf an einen Redux-Store bindet. Es bildet Routing-Informationen und URL-Parameter in einem globalen Statusbaum ab und ermöglicht es der Anwendung, die Navigation durch einen unidirektionalen Datenfluss zu verwalten. Die Bibliothek ermöglicht es, die Navigation durch das Auslösen von Aktionen zu initiieren, anstatt imperative Verlaufsmethoden aufzurufen. Dieser middleware-gesteuerte Ansatz ermöglicht es, URL-Aktualisierungen aus der Geschäftslogik oder asynchronen Prozessen heraus zu starten. Das System synchronisiert den aktuellen Standort, Hash und Suchparameter in den globalen Status für den Zugriff über Komponenten hinweg. Durch das Speichern von Routing-Änderungen innerhalb des Statusbaums unterstützt es die Integration unveränderlicher Zustände und die Möglichkeit, die Navigation durch Time-Travel-Debugging des Routenverlaufs zu verfolgen.
Uses action dispatch middleware to trigger route changes like pushing or replacing browser locations.
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.
Dieses Projekt ist ein Messaging-SDK für Android-Anwendungen, das die Kerninfrastruktur für Echtzeitkommunikation mit Kotlin und Jetpack Compose bereitstellt. Es bietet eine Suite modularer, deklarativer UI-Komponenten und eine Backend-verbundene API zur Verwaltung der Benutzerauthentifizierung, persistenter Socket-Verbindungen und Datensynchronisation. Das SDK zeichnet sich durch seine Offline-First-Architektur aus, die lokale Datenbankpersistenz nutzt, um den Konversationsverlauf zwischenzuspeichern und Benutzeraktionen für die Synchronisation in die Warteschlange zu stellen, sobald die Netzwerkkonnektivität wiederhergestellt ist. Entwickler können das Messaging-Erlebnis über eine Factory-Schnittstelle anpassen, die das Überschreiben von Standard-Visual-Elementen, Interaktionsverhalten und Design-System-Themes ermöglicht, um spezifischen Anwendungsanforderungen zu entsprechen. Die Plattform deckt ein breites Spektrum an Messaging-Funktionen ab, einschließlich Kanalverwaltung, Echtzeit-Aktivitätsindikatoren und Rich-Content-Handhabung wie Markdown-Parsing und Medienanhänge. Sie lässt sich zudem in mobile Benachrichtigungsdienste integrieren, um Nutzer über Aktivitäten zu informieren, während sich die Anwendung im Hintergrund befindet.
Buffers messages and reactions sent while disconnected and automatically synchronizes them upon network restoration.