8 个仓库
Dynamic wrapping of nested objects in proxies to facilitate deep immutable updates.
Distinct from Asset Wrapping Modules: Distinct from text wrapping or CLI process wrapping; refers to the recursive application of JS Proxies to data trees.
Explore 8 awesome GitHub repositories matching software engineering & architecture · Recursive Proxy Wrapping. Refine with filters or upvote what's useful.
Immer is an immutable state management library used to create new versions of data structures. It allows the production of new state by mutating a temporary draft instead of using manual object spreading. The project implements structural sharing to reuse unchanged parts of a data tree between versions, which reduces memory consumption. It also functions as a JSON patch generator to calculate and output the differences between two state versions. To ensure data integrity, the library includes a state mutation protector that freezes data structures to detect and prevent accidental modificatio
Dynamically wraps nested objects in proxies to track modifications deep within a data tree.
Immer is an immutable state management library for JavaScript that enables the creation of new versions of state trees. It functions as a state container that uses a proxy-based handler to ensure data immutability. The library utilizes a copy-on-write mechanism and a draft-based mutation model. This allows users to write mutating code on a temporary proxy, which the system then uses to produce a new immutable result while keeping the original state unchanged. The project covers immutable state management and complex object cloning to facilitate predictable state transitions. These capabiliti
Dynamically wraps nested objects in proxies as they are accessed to enable deep immutable updates.
SwiftyJSON is a Swift JSON parsing library and data wrapper designed to simplify the reading and manipulation of JSON structures. It provides a toolkit for converting raw JSON strings into structured formats without requiring manual type casting or optional chaining for every value. The library focuses on simplifying nested data extraction through subscript-based value access and recursive data resolution. It ensures optional-safe value retrieval by returning default empty values instead of crashing when encountering missing keys or out-of-bounds array indices. The project includes capabilit
Implements a recursive enumeration to wrap JSON values, enabling unified handling of diverse data types.
Valtio is a proxy-based state management library and reactive state engine that provides a mutable state store. It allows application state to be updated through direct object mutations rather than immutable patterns, using JavaScript proxies to track changes and trigger updates. For React applications, it includes a synchronization hook that ensures components re-render only when the specific properties they access are modified. The system supports reactive data derivation through computed properties that automatically update when their underlying dependencies change. It maintains reactivity
Recursively wraps nested objects and collections in proxies to maintain reactivity across deep structures.
REFramework is a runtime modding framework for games built on the RE Engine, providing a C# plugin system with typed proxy code generation, a Lua scripting interface, an ImGui-based UI system, a runtime debugging toolkit, and a VR integration layer. At its core, it intercepts and modifies internal game engine functions and state at runtime through hooking and scripting APIs, enabling deep inspection and manipulation of live game objects. The framework distinguishes itself through typed proxy code generation that auto-creates C# interfaces from the game's type database, giving compile-time saf
Provides runtime allocation and manipulation of game engine value type structs via IObject.
SwiftTips 是一个精选的指南、库和设计模式集合,专注于 Swift 语言掌握、应用程序架构和 API 设计。它为实现高级编码技术和架构最佳实践提供了技术资源。 该项目强调通过战略性的协议组合和泛型创建类型安全且对话式的接口。它提供了用于构建模块化 UI 系统和管理复杂视图层次结构的专门模式,以及单元测试和依赖注入的综合策略。 该资源涵盖了广泛的功能,包括函数式编程原语、高级类型系统工具和数据建模策略。它还详细介绍了错误处理、内存管理和响应式用户界面开发的技术。
Provides generic wrapper types for identifiers to prevent passing the wrong model ID into a function.
Structs is a reflection utility and type inspection framework for Go. It provides tools for inspecting, converting, and validating data structures by extracting field names, tags, and values from Go objects. The library specializes in transforming Go structs into generic maps or slices for serialization and data manipulation. It utilizes tag-driven mapping to determine custom keys and exclusion rules during these transformations. The project covers broader capabilities including metadata extraction, type validation to verify if variables are structs or pointers, and initialization verificati
Reading, modifying, and inspecting fields and tags within Go data structures using reflection.
Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging runtime reflection, the library dynamically inspects object structures to resolve and populate required dependencies, decoupling component initialization from business logic. The framework manages object lifecycles through both singleton and factory-based provisioning. It maintains a central registry to share singletons across an application for consistent state, while also supporting the creation of unique, private instances to isolate state between different components. To
Provides reflection utilities for inspecting Go structures and managing object instances dynamically.