2 个仓库
Distributing shared state container instances through a component tree using context mechanisms.
Distinct from Context-Based Instance Sharing: General purpose distribution of class instances via context, distinct from specific map or editor synchronization.
Explore 2 awesome GitHub repositories matching web development · Context-Based Instance Distribution. Refine with filters or upvote what's useful.
Unstated is a React state management library that encapsulates application state and update logic within decoupled containers. It functions as a container-based state store, allowing state and business logic to be organized into standalone classes that trigger component re-renders when data changes. The project serves as a dependency injection framework, enabling specific state container instances to be supplied to the component tree. This mechanism supports the use of mock containers or stubs to facilitate controlled testing and custom configurations. The library covers global state managem
Passes state containers through the application tree to ensure multiple components access a single shared instance.
该项目是一套用于管理 React 应用程序中分屏布局的组件和工具。它提供了一个可调整大小的面板系统,将内容组织成具有可拖动边界的水平和垂直区域。 该系统包括一个可折叠的 UI 布局工具,用于切换面板的可见性以最大化可用屏幕空间。它支持递归面板嵌套,允许将布局构建为树状结构,其中面板包含更多可调整大小的面板组。 该库通过使用面板尺寸约束来涵盖布局构建,从而能够定义最小和最大尺寸。它管理动态视口分区,并提供用于构建可调整网格和内容区域的机制。
Uses a shared provider to distribute layout state and resizing logic across the component tree.