Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/litPublic

[labs/ssr] Decide on strategy for handling data-mismatch during hydration between server and client #1434

@kevinpschaaf

Description

@kevinpschaaf

Description

Currently thelit-ssr code has a few TODOs and open questions around how to handle data mismatch between what was rendered on the server and what is hydrated on the client. In some cases we could fairly cheaply detect the mismatch and then re-render the correct value on the client, but at the limit doing this in all cases would require more diffing than we do today and potentially impact hydration performance.

Note that mismatches can occur today when renderingLitElements in top-levellit-html templates that have data-bindings to the element, since the element needs to hold off its initial update/hydration step untilhydrate is called on the outer template. This is an instance of needing hydration coordination for custom elements, and should be solved by the "pending hydration" fix in#1388.

Acceptance criteria

Decide on a strategy and break down the work to be done into tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    📋 Triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp