Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compiler] Prune dependencies that are only used by useRef or useState #29653

Merged
merged 7 commits into from
May 31, 2024

Commits on May 29, 2024

  1. [compiler] Prune dependencies that are only used by useRef or useState

    Summary: @jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 29, 2024
    Configuration menu
    Copy the full SHA
    9e4b4a5 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Update on "[compiler] Prune dependencies that are only used by useRef…

    … or useState"
    
    Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 30, 2024
    Configuration menu
    Copy the full SHA
    e296fda View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Update on "[compiler] Prune dependencies that are only used by useRef…

    … or useState"
    
    Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 31, 2024
    Configuration menu
    Copy the full SHA
    089f405 View commit details
    Browse the repository at this point in the history
  2. Update on "[compiler] Prune dependencies that are only used by useRef…

    … or useState"
    
    Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 31, 2024
    Configuration menu
    Copy the full SHA
    0f504c7 View commit details
    Browse the repository at this point in the history
  3. Update on "[compiler] Prune dependencies that are only used by useRef…

    … or useState"
    
    Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 31, 2024
    Configuration menu
    Copy the full SHA
    23ea0b5 View commit details
    Browse the repository at this point in the history
  4. Update on "[compiler] Prune dependencies that are only used by useRef…

    … or useState"
    
    Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 31, 2024
    Configuration menu
    Copy the full SHA
    de2d0cf View commit details
    Browse the repository at this point in the history
  5. Update on "[compiler] Prune dependencies that are only used by useRef…

    … or useState"
    
    Summary: jmbrown215 recently had an observation that the arguments to useState/useRef are only used when a component renders for the first time, and never afterwards. We can skip more computation that we previously could, with reactive blocks that previously recomputed values when inputs changed now only ever computing them on the first render.
    
    [ghstack-poisoned]
    mvitousek committed May 31, 2024
    Configuration menu
    Copy the full SHA
    7fec09c View commit details
    Browse the repository at this point in the history