Skip to content

Move FAST HTML to FAST Element #7314

@janechu

Description

@janechu

Description

During v3 update deprecate the @microsoft/fast-html package, and move the logic of the f-template into @microsoft/fast-component. This should update the define configurations template option to:

Example:

MyElement.define({
     name: "my-element",
     template: waitForTemplate() // example, this will return a Promise<ViewTemplate>
});

This waitForTemplate should have it's own export path (so as not to bloat the package). It should register the f-template custom element once under the hood.

Metadata

Metadata

Assignees

Labels

breaking-changeA breaking change to a shipping packagetaskA task that's part of a body of feature work.

Type

Projects

Status

Triage

Relationships

None yet

Development

No branches or pull requests

Issue actions