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

Analyzer needs to support microsoft fast v2 breaking change #276

Open
2 tasks
matteematt opened this issue Aug 21, 2024 · 1 comment
Open
2 tasks

Analyzer needs to support microsoft fast v2 breaking change #276

matteematt opened this issue Aug 21, 2024 · 1 comment

Comments

@matteematt
Copy link
Contributor

Checklist

  • Did you run the analyzer with the --dev flag to get more information? - N/A
  • Did you create a minimal reproduction in the playground?

Completing the items above will greatly improve triaging time of your issue.

Expected behavior
A clear and concise description of what you expected to happen.

There is a new syntax for defining and registering components which I think the analyzer will need to be updated to handle

import { attr, css, FASTElement, html } from "@microsoft/fast-element";
class HelloWorld extends FASTElement {
  @attr name: string;
}

HelloWorld.define({
  name: "hello-world",
  template: html`<span>Hello ${x => x.name}!</span>`,
  styles: css`
    span {
      color: red;
    }
  `,
});
@matteematt
Copy link
Contributor Author

Reading through the docs so far the only API change I can see so far is the component registration change https://fast.design/

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

No branches or pull requests

1 participant