Skip to content

Support deps_position="separate" with the fragment deps strategy #809

Open

Description

@JuroOravec

(Opus 5.5)

serialize_result(deps_position="separate") (#801) refuses the "fragment" deps strategy. A host that sends a partial response (an htmx swap or a template partial) holding several interactive renders cannot get their asset tags apart from the HTML, so it cannot dedupe them across the renders of one response the way it can for full pages with combine_assets.

Proposal: support deps_position="separate" with deps_strategy="fragment", returning the fragment's asset groups (the loader script, app and component tags) so a host can combine them, or document why the fragment loader must own them and offer an equivalent. Found while porting citry-django to Vue islands.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KUhrHaXagmW5ZxpRAMwyom

Activity

  1. added this to the Next sprint milestone on Nov 19, 2026
  2. added
    next-sprint
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    next-sprint

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions