19 Matching Annotations
  1. Jun 2024
  2. Sep 2023
  3. Jun 2023
    1. 软件相较于硬件的特性

      软件的本质:开发、退化、定制化、复杂

    Tags

    Annotators

  4. Dec 2022
    1. If Context manages a few independent data chunks, they can be split into smaller providers under the same provider. That way, only consumers of changed chunk will re-render.
    2. If Context Provider is placed not at the very root of the app, and there is a possibility it can re-render itself because of changes in its ancestors, its value should be memoized.
    3. Value in key should be a string, that is consistent between re-renders for every element in the list.
    4. If a component uses non-primitive value as a dependency in hooks like useEffect, useMemo, useCallback, it should be memoized.

    5. Memoizing props by themselves will not prevent re-renders of a child component.
    6. encapsulates the state inside a smaller component, and heavy components are passed to it as props
    7. parent (or children) re-renders
  5. Nov 2022
    1. newer versions of Wireshark include an androiddump utility to capture Bluetooth traffic directly from Android phones. The setup couldn't be simpler: connect the phone to the computer via USB, enable USB debugging, select the "Android Bluetooth" capture source in Wireshark, and start recording!
    1. You can then edit files in that repository and commit and push them like this: cd 0a30d52feeb3ff60f7d8636b0bde296b # Edit files here git commit -m "Edited some files" -a git push
  6. Apr 2021
  7. Aug 2015
    1. the beginning of annotation 2. The end of annotation 2

      The second annotation.

    1. open annotation layer

      This is an example. The annotation lives in the cloud, and is shown here by means of the open-source app you are now using to read it.