FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Comparing main...perf/css-media-query-cache · NativeScript/NativeScript · GitHub

Repository navigation

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
Could not load branches
Nothing to show
{{ refName }}
...
head repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: perf/css-media-query-cache
Choose a head ref
Could not load branches
Nothing to show
{{ refName }}
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 6, 2026

  1. perf(core): cache CSS media query results until their inputs change

    Every node matched against a stylesheet with @media blocks re-evaluated
    each query: it read the screen size natively and re-parsed the query
    string. Results are now cached per query string. The cache is cleared
    where its inputs change (orientation, system appearance, and the first
    window's traits), before CSS is re-applied, and a cache epoch lets
    callers that derive data from query results notice the change.
    triniwiz committed Oct 6, 2026
    Configuration menu
    Copy the full SHA
    d586c4f View commit details
    Browse the repository at this point in the history
  2. fix(core): invalidate cached media query results when the screen size…

    … changes
    
    The screen size can change without an orientation or appearance change (a
    foldable's display, a window moved to another screen), which left views
    created afterwards matching against the old size. The cache now compares the
    screen size once per turn and invalidates when it differs.
    NathanWalker committed Oct 6, 2026
    Configuration menu
    Copy the full SHA
    ef2411b View commit details
    Browse the repository at this point in the history
Loading

Back | FazBrowse Home | New Git URL