Skip to content

chore(fast-html): use @microsoft/fast-build to build lifecycle-callbacks fixture#7385

Merged
janechu merged 1 commit intomainfrom
users/janechu/update-fixture-to-use-fast-build-lifecycle-callbacks
Apr 8, 2026
Merged

chore(fast-html): use @microsoft/fast-build to build lifecycle-callbacks fixture#7385
janechu merged 1 commit intomainfrom
users/janechu/update-fixture-to-use-fast-build-lifecycle-callbacks

Conversation

@janechu
Copy link
Copy Markdown
Collaborator

@janechu janechu commented Apr 4, 2026

Pull Request

📖 Description

Adds the lifecycle-callbacks test fixture to @microsoft/fast-html and generates its index.html using @microsoft/fast-build, consistent with the other fixtures (attribute, binding, event, ref, slotted, when, repeat, repeat-event, children).

The lifecycle-callbacks fixture covers FAST element lifecycle callbacks (connectedCallback, disconnectedCallback, attributeChangedCallback) and deferred hydration via the needs-hydration and defer-hydration attributes. It verifies that SSR correctly renders initial state for elements using these lifecycle patterns, and that FAST properly hydrates and activates bindings after connection.

🎫 Issues

No open issues directly addressed.

📑 Test Plan

  • npm run build:fixtures in packages/fast-html runs cleanly and regenerates lifecycle-callbacks/index.html with correct shadow DOM content rendered from root state.
  • All other fixture outputs are unchanged.

✅ Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@janechu janechu force-pushed the users/janechu/update-fixture-to-use-fast-build-lifecycle-callbacks branch from 9a4b705 to c7d9fcf Compare April 8, 2026 15:37
…cks fixture

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@janechu janechu marked this pull request as ready for review April 8, 2026 15:46
@janechu janechu force-pushed the users/janechu/update-fixture-to-use-fast-build-lifecycle-callbacks branch from c7d9fcf to 8965f6d Compare April 8, 2026 15:46
@janechu janechu merged commit 087ee6e into main Apr 8, 2026
14 checks passed
@janechu janechu deleted the users/janechu/update-fixture-to-use-fast-build-lifecycle-callbacks branch April 8, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant