4 Matching Annotations
  1. Aug 2025
    1. asynchronous I/O primitives

      I/O primitives = العمليات الأساسية الخاصة بالإدخال والإخراج (زي قراءة/كتابة فايل، الاتصال بقاعدة بيانات، الاتصال بالإنترنت…).

  2. Jul 2025
    1. We can't just call posts.sort() directly, because Array.sort() mutates the existing array, so we'll need to make a copy of it first.

      رياكت بتمنع اي mutation علي الداتا اللي راجعة من الكاش

    1. By defining and separating the concepts involved in state management and enforcing rules that maintain independence between views and states, we give our code more structure and maintainability.

      بدل ما يكون كل حاجة متلخبطة في مكان واحد (الـ UI، و البيانات، و الـ logic)،

      إحنا بنفصل المفاهيم الرئيسية:

      الـ UI مسؤول عن العرض بس

      الـ state (البيانات) محفوظة في مكان مستقل (store)

      التحديثات على الـ state بتيجي من خلال قواعد واضحة (actions + reducers)

      ⬅️ زي كأنك عامل كل جزء من مشروعك في ملف واضح ومنفصل.