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

WCC <> JSX Enhancements Tracking #2

Open
1 of 9 tasks
thescientist13 opened this issue Aug 27, 2022 · 0 comments
Open
1 of 9 tasks

WCC <> JSX Enhancements Tracking #2

thescientist13 opened this issue Aug 27, 2022 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@thescientist13
Copy link
Owner

Type of Change

  • New Feature Request
  • Documentation
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

Coming out of #1 , there were few outstanding issues from the JSX migration that need to come from WCC.

Details

  1. preventDefault() on the form because using Enter to add a Todo refreshes the page - Form Controls for JSX ProjectEvergreen/wcc#89
  2. Figure out how to enable attributes as variables so the checkbox actually checks, when checked - Form Controls for JSX ProjectEvergreen/wcc#89
  3. Automatic observability - Coarse Grained (Inferred) Observability for JSX ProjectEvergreen/wcc#87
  4. Have WCC auto-call render onConnectedCallback?
    export default class Footer extends HTMLElement {
      // TODO would be nice for WCC to auto render somehow?
      connectedCallback() {
        this.render();
      }
    
      render() {
        return (
          <footer>
            <a href="https://projectevergreen.github.io">Project Evergreen</a>
          </footer>
        );
      }
    }
@thescientist13 thescientist13 added bug Something isn't working enhancement New feature or request labels Aug 27, 2022
@thescientist13 thescientist13 self-assigned this Aug 27, 2022
This was referenced Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant