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

[Fizz] Add FormatContext and Refactor Work #21103

Merged
merged 5 commits into from
Mar 26, 2021

Commits on Mar 25, 2021

  1. Add format context

    sebmarkbage committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    70df94d View commit details
    Browse the repository at this point in the history
  2. Let the Work node hold all working state for the recursive loop

    Stacks are nice and all but there's a cost to maintaining each frame
    both in terms of stack size usage and writing to it.
    sebmarkbage committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    ecaa178 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97e9d15 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Synchronously render children of a Suspense boundary

    We don't have to spawn work and snapshot the context. Instead we can try
    to render the boundary immediately in case it works.
    sebmarkbage committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    27cf405 View commit details
    Browse the repository at this point in the history
  2. Lazily create the fallback work

    Instead of eagerly create the fallback work and then immediately abort it.
    We can just avoid creating it if we finish synchronously.
    sebmarkbage committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    6dcd49a View commit details
    Browse the repository at this point in the history