7 repository-uri
Event-driven patterns that allow systems to intercept and block pending actions before they execute.
Distinct from Event Cancellation: Distinct from task cancellation by specifically providing an 'attempt' event for other systems to vet.
Explore 7 awesome GitHub repositories matching software engineering & architecture · Action Interception Patterns. Refine with filters or upvote what's useful.
redux-persist is a state persistence library for Redux that saves and restores store state to a storage engine to maintain data across sessions. It functions as a state rehydration tool and serialization middleware, loading previously saved application state back into the Redux store during the initialization process. The library includes a schema migration utility to transform persisted state data from older versions to newer schemas, ensuring compatibility after application updates. It also provides state serialization transformations to modify state objects before they are written to or re
Implements middleware to intercept Redux actions and automatically synchronize the current state with the storage engine.
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
Implements event-driven patterns that intercept and block pending actions before they execute.
Refluxjs este o bibliotecă de gestionare a stării concepută pentru a implementa o arhitectură de flux de date unidirecțional. Gestionează starea aplicației printr-un ciclu strict de acțiuni și store-uri pentru a preveni buclele de actualizare imprevizibile. Biblioteca coordonează operațiunile asincrone prin gestionarea fluxurilor de evenimente și declanșarea acțiunilor aferente de succes sau eșec. Oferă, de asemenea, un registru global de stare care urmărește stările store-urilor prin identificatori unici, permițând deep cloning pentru persistență și time-travel debugging. Suprafața sa de capabilități acoperă gestionarea centralizată a stării, inclusiv crearea de data store-uri și agregarea stării derivate. Include instrumente pentru interceptarea emisiilor de acțiuni prin hook-uri pre-emisie și mecanisme pentru a lega starea store-ului direct de componentele interfeței utilizator pentru re-randare automată.
Provides pre-emission hooks to filter or transform arguments and conditionally block action dispatch.
This is an internationalization framework for Angular applications. It provides a system for managing multilingual text by mapping keys to translated strings, utilizing a JSON translation manager to load and merge localized assets via HTTP or local sources. The library includes a runtime language switcher to update the user interface instantly without reloading the page and a key extractor to identify translatable strings within source code. The project features an ICU message formatter to handle complex linguistic requirements such as pluralization and gender. It distinguishes itself through
Creates independent translation subtrees that maintain their own language state without falling back to a root provider.
Tagify is an HTML tagging component library that transforms standard input and textarea elements into interactive interfaces for managing collections of data tags. It provides a form enhancement toolkit and an autocomplete input framework designed to add validation, persistence, and dynamic data synchronization to web forms. The library is distinguished by its ability to function as a mixed-content text editor, allowing interactive tags to be interspersed within blocks of plain free-form text. It supports real-time suggestions derived from local whitelists or remote servers, as well as an act
Implements action interception patterns to block or vet tag updates before they execute.
Space Station 14 is a C# multiplayer game and roleplay simulation framework. It is built upon an Entity-Component-System (ECS) game engine that separates logic into systems and data into components to manage complex entity interactions. The project functions as a grid-based physics simulator with a YAML data-driven prototype system for defining game objects. The project features a specialized 2D sprite rendering engine that maps server-side appearance data to client-side shaders. It implements a networking model with client-side prediction and dirty-flagged state synchronization to reduce inp
Raises attempt events that other systems can intercept to block an action from occurring.
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
Allows developers to hook into the action dispatch pipeline to observe, transform, or block state updates.