17 Repos
Sharing data across component trees without manual prop drilling.
Distinguishing note: Focuses on data propagation patterns, distinct from state management.
Explore 17 awesome GitHub repositories matching user interface & experience · Context-Based Dependency Injection. Refine with filters or upvote what's useful.
Preact is a lightweight declarative user interface library designed for building high-performance web applications. It utilizes a component-based architecture where interfaces are defined as functional or class-based units, relying on a virtual DOM to perform efficient state reconciliation and updates. By prioritizing a minimal footprint, the library enables developers to create modular, predictable, and testable user interfaces while maintaining compatibility with standard browser APIs. The library distinguishes itself through a reactive state engine that leverages signals to track dependenc
Distributes data across a component tree without manual prop drilling.
React Redux is a set of official bindings and integration layers that connect a Redux global state container to a React user interface. It functions as a state synchronization library and a communication bridge, allowing components to read state and dispatch actions to a centralized store. The project decouples business logic from the view layer, ensuring that the user interface automatically updates whenever the underlying global state changes. It manages complex data flows by linking the UI to a central state container to share data across different components and screens. The library impl
Provides a mechanism to inject the global state store into the component tree to prevent prop drilling.
React Redux is a global state management bridge and a set of bindings that connect React components to a Redux state store. It serves as a communication layer and state store connector, allowing a declarative user interface to synchronize with a centralized source of truth. The library enables the synchronization of shared global state across an application by providing mechanisms to read state and dispatch actions directly from the view layer. It ensures predictable state transitions by bridging the gap between UI components and the Redux state container. The project covers core capabilitie
Implements a mechanism to provide a singleton store to the entire component tree using the React Context API.
React-Redux provides the official bindings that connect a Redux state container to a React user interface. It functions as a state management integration and UI state connector, enabling the synchronization of a centralized data store with a component tree. The library ensures a predictable UI state flow by implementing a unidirectional data path between the interface and the state container. It allows components to read global state and dispatch actions to trigger updates, maintaining a single source of truth across the application. The project handles state synchronization through a combin
Shares the global state container across the component tree using the React Context API to avoid prop drilling.
React-dnd is a drag and drop framework and library for React applications. It provides a system of higher-order components and hooks to implement draggable interface elements and drop targets using a declarative API. The framework separates the logic of moving items from the visual presentation of the user interface. This allows for the development of interactive interfaces, such as visual list reordering and custom dashboard layouts where widgets or panels can be reorganized.
Uses React Context to share the drag and drop backend and state manager across the component tree.
React Native Paper is a cross-platform UI framework that provides a comprehensive suite of pre-built components based on Material Design specifications. It serves as a library for building consistent mobile interfaces by mapping high-level design elements to native platform primitives, ensuring a unified visual language across different operating systems. The library distinguishes itself through a global context provider that manages theme injection and portal-based overlay rendering for elements like modals and tooltips. Developers can apply custom brand identities by overriding default desi
Uses a global provider pattern to propagate design tokens and theme data through the component tree.
This project is a comprehensive guide to architectural patterns and design techniques for building modular user interfaces with React. It focuses on structuring component hierarchies, implementing state management patterns, and decoupling services to ensure applications remain maintainable and scalable. The collection emphasizes strategies for dependency injection and the separation of business logic from presentation layers. It provides detailed approaches for utilizing containers, higher-order components, and module registries to isolate external services and third-party libraries from the
Implements patterns for sharing data across component trees using providers to avoid manual prop drilling.
This project is a comprehensive collection of type-safe SVG icon libraries bundled into a single, consistent component-based delivery system. It functions as a multi-pack aggregator that provides a library of scalable vector graphics as components with a unified API for styling and rendering. The library integrates numerous popular open-source SVG icon sets into a single component interface, allowing users to access and render a wide variety of iconography within one dependency. It includes native type definitions to ensure property validation and enable development autocomplete. The system
Provides a global React context to distribute shared visual properties across all icon components.
react-icons is an SVG icon component library and multi-pack aggregator for React applications. It provides a single interface to integrate and manage multiple third-party SVG icon sets as individual components. The library is designed as a tree-shakable icon set, allowing the import of specific icons to reduce final bundle sizes. It includes a global icon style provider to define default colors, sizes, and accessibility titles across all embedded icons. The project covers multi-library icon management and frontend asset optimization to maintain a consistent design language while improving pa
Implements a provider pattern to propagate global style configurations across the icon component tree without prop drilling.
This is a Dart state management library and architectural framework that decouples business logic from the user interface by transforming a stream of events into a stream of states. It implements a business logic component pattern to ensure that state transitions are predictable and testable. The project distinguishes itself through advanced event stream processing, providing concurrency strategies to drop, restart, or queue incoming events. It includes a dedicated state persistence layer for saving and restoring application state to maintain session continuity, as well as tools for state his
Provides state managers to widget subtrees via the inherited widget system for lifecycle management and disposal.
React is a JavaScript library for building user interfaces through the composition of modular, self-contained components. It employs a declarative programming model where developers describe the desired visual state, and the library automatically manages the underlying document updates and state synchronization. By utilizing a virtual representation of the document, it calculates and applies minimal changes to the browser, ensuring efficient rendering even in complex applications. The library distinguishes itself through a sophisticated scheduling system that manages rendering work in increme
Broadcasts shared data through the component tree to avoid manual property drilling and provide global access to application state.
GetX is a comprehensive state management framework for Flutter that provides a toolkit for managing application state, dependency injection, and routing without requiring build context. It serves as a core architectural system for reactive state management, navigation, service location, and multi-language theme support. The project is distinguished by its ability to handle context-free navigation and the use of observable variables that automatically trigger user interface updates. It features a dependency injection container with lazy loading and automated memory management, alongside a rout
Provides a global registry for retrieving class instances based on type or identifier without manual constructor passing.
vue-echarts ist ein deklarativer Charting-Wrapper und Vue.js-Komponente für die Apache ECharts-Bibliothek. Es fungiert als Datenvisualisierungsbibliothek, die Konfigurationen und Daten-Updates auf eine Rendering-Engine abbildet, was das Einbetten interaktiver Graphen und Charts als wiederverwendbare Web-Komponenten ermöglicht. Das Projekt bietet ein System zur Verwaltung visueller Konsistenz durch Theme-Konfiguration und kontextbasierte Injektion. Es erlaubt eine tiefe Anpassung des Visualisierungs-Interfaces, einschließlich der Verwendung von Scoped Slots, um benutzerdefiniertes HTML-Markup innerhalb von Tooltips zu rendern und komplexe grafische Elemente zu konstruieren. Die Bibliothek handhabt gängige Visualisierungsanforderungen wie automatisches responsives Resizing, Event-Binding für Benutzerinteraktionen und die Verwaltung von Ladezustandsindikatoren. Um die Performance zu erhalten, verwendet sie ein Update-System, das partielle Konfigurationsänderungen berechnet, um Charts zu aktualisieren, ohne vollständige Neu-Initialisierungen durchzuführen.
Implements a dependency injection system to distribute visual themes across multiple chart instances without prop drilling.
rsuite is a React UI component library and enterprise design system used to build professional web interfaces. It functions as a themable component suite and localized UI toolkit, providing the necessary tools for developing data-heavy administrative dashboards and internal applications. The library is distinguished by its built-in support for server-side rendering to improve initial page load speeds and search engine visibility. It includes a global provider for managing consistent visual styles and high-contrast modes, alongside a translation layer for interface localization and date format
Uses a global provider to distribute theme variables and high-contrast configurations across the component tree via React context.
react-pxq is a React Redux boilerplate and state-driven UI framework designed for building single-page applications. It functions as a starter project template that combines a client-side routing system with global state management to synchronize data across a component hierarchy. The project implements a code-split web application architecture that uses lazy loading to reduce initial bundle sizes. It integrates a navigation system that maps URL paths to components without triggering full page reloads. The framework covers centralized state management through a global store and action-based
Uses context providers to share state and routing logic across the component tree without manual prop drilling.
react-responsive is a media query library for React used to implement responsive design by conditionally rendering components based on viewport dimensions. It provides hooks and utilities for viewport detection and monitoring screen characteristics and orientation changes. The library includes a server-side rendering mock and device simulation capabilities. These allow for the manual override of device settings via properties or context to ensure consistent rendering during server-side operations and to facilitate automated UI testing. The project covers device characteristic detection and v
Uses a provider to distribute manual device overrides across the component tree without prop drilling.
Dieses Projekt ist ein pädagogisches React-Implementierungs-Tutorial und ein Framework für gleichzeitiges (concurrent) Rendering. Es dient als Schritt-für-Schritt-Demonstration, wie man eine kompatible Bibliothek von Grund auf neu erstellt, und bietet eine Virtual-DOM-Engine zur Berechnung von Elementbaum-Unterschieden sowie ein synthetisches Ereignissystem für browserübergreifende Interaktionskonsistenz. Das Framework implementiert einen Hook-basierten State-Manager, um lokale Komponentendaten zu verfolgen und globalen Kontext zu teilen. Es nutzt eine Concurrent-Rendering-Architektur, die Time-Slicing und lane-basierte Prioritäten einsetzt, um die Reaktionsfähigkeit des Main-Threads bei umfangreichen Updates aufrechtzuerhalten. Das Projekt deckt eine breite Funktionsfläche ab, einschließlich Komponenten-State-Management, der Entwicklung benutzerdefinierter Renderer, die vom Browser entkoppelt sind, und der Implementierung einer prioritätsbasierten Update-Planung. Es handhabt zudem die Synchronisierung virtueller Bäume mit dem Browser-Dokument und das Management von Komponenten-Seiteneffekten.
Implements a provider-based system to pass shared data through the component tree without prop drilling.