4 个仓库
Techniques to prevent accidental modification of data structures during state transitions.
Distinct from Mutation Monitors: Focuses on application-level object freezing rather than remote mutation monitoring or database hooks.
Explore 4 awesome GitHub repositories matching software engineering & architecture · Mutation Prevention. 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
Freezes data structures to detect and block unintended modifications to a protected state.
This project is an ESLint plugin and static analysis tool designed to enforce best practices, prevent bugs, and maintain code quality in React projects. It functions as a specialized JSX linter that analyzes the syntax and structure of components to detect anti-patterns and API misuse. The plugin distinguishes itself by providing deep analysis of React-specific patterns, such as detecting state race conditions, preventing nested component definitions, and identifying unstable references that cause unnecessary re-renders. It also includes security hardening rules to identify vulnerabilities li
Forbids direct assignments to component state to ensure updates are performed through the proper React API.
SwiftTips 是一个精选的指南、库和设计模式集合,专注于 Swift 语言掌握、应用程序架构和 API 设计。它为实现高级编码技术和架构最佳实践提供了技术资源。 该项目强调通过战略性的协议组合和泛型创建类型安全且对话式的接口。它提供了用于构建模块化 UI 系统和管理复杂视图层次结构的专门模式,以及单元测试和依赖注入的综合策略。 该资源涵盖了广泛的功能,包括函数式编程原语、高级类型系统工具和数据建模策略。它还详细介绍了错误处理、内存管理和响应式用户界面开发的技术。
Implements patterns to limit exposed mutating operations while keeping underlying collection storage private.
jscamp is a full-stack web development and education project focused on mastering JavaScript, TypeScript, and AI integration. It provides a structured curriculum and interactive exercises covering language fundamentals, frontend engineering, and backend API development. The project distinguishes itself through the implementation of autonomous AI agents capable of complex task automation, such as modifying files, managing servers, and executing API calls. It includes advanced AI development tools for conversational querying, real-time code suggestions, and automated repository analysis to gene
Restricts the modification of object properties during compilation to prevent accidental data mutation.