awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

15 مستودعات

Awesome GitHub RepositoriesState Injection Patterns

Mechanisms for passing shared instances or context down through a component hierarchy.

Distinguishing note: Focuses on dependency injection for component trees rather than general state management.

Explore 15 awesome GitHub repositories matching user interface & experience · State Injection Patterns. Refine with filters or upvote what's useful.

Awesome State Injection Patterns GitHub Repositories

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • pmndrs/react-three-fiberالصورة الرمزية لـ pmndrs

    pmndrs/react-three-fiber

    31,172عرض على GitHub↗

    This project is a React-based WebGL renderer that enables the creation of three-dimensional scenes using a declarative, component-driven architecture. It functions as a bridge between a component-based user interface library and a low-level graphics engine, allowing developers to manage lights, cameras, and geometry as standard elements within a reactive tree structure. The library distinguishes itself by treating the scene graph as a declarative hierarchy that synchronizes directly with application state and lifecycle events. It utilizes a custom reconciler to map component updates to object

    Passes scene-specific instances like cameras and renderers down the component tree through a provider-consumer pattern.

    TypeScript3danimationfiber
    عرض على GitHub↗31,172
  • jakewharton/butterknifeالصورة الرمزية لـ JakeWharton

    JakeWharton/butterknife

    25,364عرض على GitHub↗

    ButterKnife is an Android view binding library and Java annotation processor that automates the linking of UI elements and resources to class fields and methods. It functions as a system for managing view references and event listeners to reduce repetitive setup code in Android applications. The library uses compile-time code generation to replace manual view lookups and type casting with generated helper classes, ensuring a reflection-free runtime. It differentiates itself by providing mechanisms for binding interaction events directly to methods, eliminating the need for anonymous inner cla

    Supports scoping view lookups to a specific view hierarchy for custom components or sub-screens.

    Java
    عرض على GitHub↗25,364
  • pmndrs/jotaiالصورة الرمزية لـ pmndrs

    pmndrs/jotai

    21,208عرض على GitHub↗

    Jotai is a state management library for React applications that utilizes an atomic model to handle data. It organizes application state into small, independent units called atoms, which automatically track dependencies and trigger granular updates to components. By building state through these composable primitives, the library ensures that only the necessary parts of an application re-render when data changes. The library distinguishes itself through its flexible approach to state composition and asynchronous data handling. It integrates promises directly into the state model, allowing devel

    Creates isolated state instances by injecting specific values into a scope.

    TypeScriptatomichacktoberfestmanagement
    عرض على GitHub↗21,208
  • keplergl/kepler.glالصورة الرمزية لـ keplergl

    keplergl/kepler.gl

    11,871عرض على GitHub↗

    Kepler.gl is a web-based geospatial visualization framework designed for rendering large-scale location datasets. It functions as a modular React mapping component that enables developers to embed interactive, high-performance geographic visualizations into web applications, serving as a comprehensive engine for building browser-based GIS dashboards. The library distinguishes itself through a highly extensible architecture that centers on centralized state management. By utilizing a predictable state-driven model, it allows for the programmatic control of map layers, filters, and viewport set

    Connects custom interface components to internal application state and action creators.

    TypeScriptdata-visualizationgeospatialkepler
    عرض على GitHub↗11,871
  • brianegan/flutter_architecture_samplesالصورة الرمزية لـ brianegan

    brianegan/flutter_architecture_samples

    8,920عرض على GitHub↗

    This is a reference project that implements the same TodoMVC application across multiple Flutter state management and architecture patterns, enabling direct side-by-side comparison. The project demonstrates how different approaches—including BLoC, Redux, MobX, Provider, and Scoped Model—handle state, data flow, and separation of concerns within the Flutter framework. Each architecture implementation is built to the same specification and runs an identical suite of shared integration tests, ensuring consistent behavior across all patterns. This allows developers to evaluate the trade-offs of e

    Shares state by injecting a model object deep into the widget hierarchy using InheritedWidget.

    Dartdartflutterredux
    عرض على GitHub↗8,920
  • uber/ribsالصورة الرمزية لـ uber

    uber/RIBs

    7,923عرض على GitHub↗

    RIBs is a mobile architecture framework that structures applications around isolated, lifecycle-managed units of business logic called RIBs. Each RIB separates routing, business logic, and construction into distinct classes through the Router-Interactor-Builder pattern, with hierarchical dependency injection scoping dependencies per node and static analysis enforcing architectural rules at build time. The framework enforces automatic disposal of Rx subscriptions scoped to interactor lifecycles, blocking compilation when subscriptions lack proper disposal to prevent memory leaks. It supports v

    Defines explicit dependencies per business logic node and injects them from parent nodes through hierarchical DI.

    Kotlinandroidarchitectural-patternsarchitecture
    عرض على GitHub↗7,923
  • jamiebuilds/unstatedالصورة الرمزية لـ jamiebuilds

    jamiebuilds/unstated

    7,728عرض على GitHub↗

    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

    Supplies specific container instances to the application to facilitate stubbing and custom configuration during testing.

    JavaScriptmanagementreactstate
    عرض على GitHub↗7,728
  • rrousselgit/riverpodالصورة الرمزية لـ rrousselGit

    rrousselGit/riverpod

    7,315عرض على GitHub↗

    Riverpod is a reactive state management framework for Dart that manages application state through providers which automatically track dependencies and rebuild dependents when values change. It functions as an asynchronous data caching library, caching results of async operations and exposing loading, error, and data states to widgets without manual future handling. The framework includes a provider composition system that combines multiple providers into derived values that recompute automatically when any dependency changes, along with code generation for state providers that reduces boilerpl

    Enables dependent providers to correctly resolve scoped values through explicit dependency declarations.

    Dartdartflutterhacktoberfest
    عرض على GitHub↗7,315
  • kaorun343/vue-property-decoratorالصورة الرمزية لـ kaorun343

    kaorun343/vue-property-decorator

    5,473عرض على GitHub↗

    هذا المشروع عبارة عن مجموعة أدوات تعتمد على TypeScript توفر مصممات (decorators) وهياكل قائمة على الفئات لبناء مكونات Vue.js. تعمل كغلاف يستبدل تكوين كائن واجهة برمجة التطبيقات القياسي بمكتبة قائمة على الفئات، مما يسمح للمطورين بتحديد منطق المكون، والحالة، والبيانات الوصفية باستخدام خصائص مكتوبة (typed properties). تركز مجموعة الأدوات على استخدام مصممات TypeScript لتعيين خصائص الفئة إلى خيارات المكون مثل الدعائم (props)، والنماذج، والمراقبين. تتيح التحقق من الدعائم القائم على النوع وتوفر بناء جملة مهيكلاً لإدارة مزامنة الحالة التفاعلية وتواصل المكونات. تغطي المكتبة مجالات قدرة واسعة بما في ذلك مشاركة البيانات الهرمية من خلال حقن التبعية، وربط النموذج ثنائي الاتجاه، ومراقبة تغيير الخصائص. كما تتضمن أنظمة لإنشاء مراجع مكتوبة لعناصر HTML أو مثيلات المكونات الفرعية للتلاعب المباشر.

    Implements a provide-and-inject pattern to pass data from parent to deep descendants.

    TypeScriptdecoratorstypescriptvue
    عرض على GitHub↗5,473
  • cucumber/cucumber-jsالصورة الرمزية لـ cucumber

    cucumber/cucumber-js

    5,350عرض على GitHub↗

    Cucumber-js is a behavior-driven development tool and acceptance test automation framework for JavaScript. It serves as a test automation engine that allows users to define system behavior using human-readable scenarios, mapping plain-text steps to executable code to verify that software conforms to business rules and acceptance criteria. The project utilizes a Gherkin-based framework to create executable system documentation in natural language. It supports multi-language localization for writing scenarios in various spoken languages and provides tools for scenario parameterization and busin

    Provides a shared context object to step definitions to maintain data continuity across a single scenario.

    TypeScriptcucumberjavascripttypescript
    عرض على GitHub↗5,350
  • rrousselgit/providerالصورة الرمزية لـ rrousselGit

    rrousselGit/provider

    5,258عرض على GitHub↗

    Provider هو إطار عمل لإدارة الحالة وحقن التبعية (dependency injection) لـ Flutter. يبسط عملية مشاركة البيانات عبر شجرة الـ widget باستخدام نظام يدير حقن الكائنات والخدمات مع دورة حياة مؤتمتة وتخلص من الموارد. يتميز إطار العمل بحاويات حالة تفاعلية تربط البيانات غير المتزامنة من التدفقات (streams) والـ futures مباشرة بشجرة المكونات. ويدعم اشتقاق الحالة، مما يسمح بإنشاء كائنات جديدة ومزامنتها بناءً على القيم الملاحظة من مزودي بيانات متعددين. وللحفاظ على الأداء، يوفر تصفية انتقائية لإعادة البناء واشتراكات جزئية في الحالة للحد من التحديثات لأجزاء محددة من واجهة المستخدم. تغطي المكتبة مجالات قدرات واسعة تشمل ربط الواجهات لفصل التنفيذ الملموس عن الواجهات المجردة، وتكوين المزودين (provider composition) لتسطيح تعريفات التبعية المتعددة وتقليل التداخل. كما تتضمن أدوات لحل التبعيات الاختيارية والحفاظ على حالة التطبيق أثناء دورات إعادة التحميل السريع (hot reload) أثناء التطوير.

    Implements state propagation using Flutter's native InheritedWidget for efficient, constant-time data lookups across the widget tree.

    Dart
    عرض على GitHub↗5,258
  • autofac/autofacالصورة الرمزية لـ autofac

    autofac/Autofac

    4,649عرض على GitHub↗

    Autofac is a dependency injection framework and inversion of control container for .NET. It functions as a component registration engine that decouples class implementations from their dependencies by injecting required services via constructors or properties. The project includes an assembly scanning library to automatically discover and register components within compiled binaries based on specific type criteria. It provides a service lifetime manager to control object memory duration using singletons, instance-per-dependency, or isolated request scopes. The framework covers a broad range

    Provides isolated scopes for resolving services to ensure that scoped instances are properly disposed.

    C#autofacc-sharpdependency-injection
    عرض على GitHub↗4,649
  • typestack/typediالصورة الرمزية لـ typestack

    typestack/typedi

    4,242عرض على GitHub↗

    TypeDI هو حاوية حقن تبعية TypeScript وأداة عكس التحكم. يعمل كسجل مركزي ومحدد خدمة يدير إنشاء الكائنات ويفصل تبعيات المكونات باستخدام استنتاج النوع والمزخرفات. يوفر المشروع إدارة تبعية ذات نطاق محدد لعزل مثيلات الخدمة ضمن سياقات محددة، مما يمنع تسرب البيانات بين تدفقات التنفيذ المختلفة. يدعم دقة الخدمة المرنة من خلال استخدام الرموز الآمنة من حيث النوع والقدرة على تعيين معرفات فريدة أو منشئات فئة لمثيلات خدمة محددة. تغطي الحاوية إدارة دورة حياة الخدمة الشاملة، بما في ذلك فترات حياة singleton و transient، بالإضافة إلى دقة المراجع الدائرية. تتضمن قدرات لتجميع الخدمة، والإنشاء القائم على المصنع، والتكامل مع أطر العمل الخارجية. لضمان الجودة، يوفر النظام أدوات لمحاكاة التبعية وإعادة تعيين حالة الحاوية لضمان العزل أثناء اختبار الوحدة.

    Implements isolated resolution scopes to prevent data leakage between separate execution flows or users.

    TypeScriptdependency-injectioninversion-of-controlioc
    عرض على GitHub↗4,242
  • mvvmcross/mvvmcrossالصورة الرمزية لـ MvvmCross

    MvvmCross/MvvmCross

    3,917عرض على GitHub↗

    إطار عمل MvvmCross هو إطار عمل .NET MVVM مصمم لبناء تطبيقات عبر المنصات عن طريق فصل منطق الأعمال عن واجهات المستخدم الأصلية. يعمل كمحرك تنقل ومكتبة لربط بيانات واجهة المستخدم، مما يتيح تغليف المنطق داخل نماذج العرض (View models) التي يتم إعادة استخدامها عبر أنظمة تشغيل مختلفة. يوفر إطار العمل طبقة تجريد عتاد أصلية وحاوية حقن تبعية (Dependency injection) لفصل المكونات وتوفير واجهة متسقة للوصول إلى ميزات الجهاز. ينسق إطار العمل الانتقالات الآمنة للأنواع بين الشاشات الأصلية ويدير مزامنة البيانات بين فئات المنطق المشتركة ومكونات واجهة المستخدم الأصلية من خلال إشعارات تغيير الخصائص. يغطي المشروع مجموعة واسعة من القدرات، بما في ذلك إدارة دورة حياة التطبيق، والربط العميق بـ URI، وتسجيل الخدمة القائم على عكس التحكم (IoC). كما يتضمن أدوات للتدويل، ومراسلة النشر والاشتراك عبر مجمع أحداث مرجعي ضعيف، وتكامل العتاد للمستشعرات، وتحديد الموقع الجغرافي، والمصادقة البيومترية.

    Provides nested dependency containers to allow isolated state instances within specific application scopes.

    C#androidc-sharpdotnet
    عرض على GitHub↗3,917
  • flutterando/modularالصورة الرمزية لـ Flutterando

    Flutterando/modular

    1,381عرض على GitHub↗

    Modular is a framework for the Flutter ecosystem that provides a structured approach to application architecture through module-based dependency injection and navigation management. It enables developers to organize complex codebases into independent, decoupled units, facilitating the management of shared services and object lifecycles within specific application scopes. The framework distinguishes itself by offering hierarchical dependency scoping and lazy resolution, which allow for the automatic creation and disposal of objects based on the active module or page lifecycle. It also features

    Injects specific values into a scope to allow independent state instances and lifecycle management.

    Dart
    عرض على GitHub↗1,381
  1. Home
  2. User Interface & Experience
  3. State Injection Patterns

استكشف الوسوم الفرعية

  • Scoped Dependency Injection5 وسوم فرعيةInjecting specific values into a scope to allow independent state instances. **Distinct from State Injection Patterns:** Distinct from State Injection Patterns: focuses on the creation of isolated state instances via injection.