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

Element: Fix serializer handling of multiple distinct contexts #21156

Closed
wants to merge 6 commits into from

Commits on Mar 26, 2020

  1. Configuration menu
    Copy the full SHA
    6313fad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90dacf0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    014e884 View commit details
    Browse the repository at this point in the history
  4. Element: Guard property access to context consumer _context

    Multiple references in React's codebase check whether this is assigned.
    
    See: https://github.com/facebook/react/blob/a16b34974508cd23ce0844ad09a0e37a879d5591/packages/react-dom/src/server/ReactPartialRenderer.js#L1157
    
    It's not entirely clear the exact circumstances this may occur at this point in code. Ideally there would be a test case verifying failure without this guard.
    aduth committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    947a58f View commit details
    Browse the repository at this point in the history
  5. Try common Map implementation

    aduth committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    c64b80a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    621789b View commit details
    Browse the repository at this point in the history