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

Create helpers for using Lit templates instead of renderer function #266

Closed
web-padawan opened this issue Oct 13, 2020 · 5 comments
Closed
Assignees
Labels
enhancement New feature or request typescript TypeScript definitions issue

Comments

@web-padawan
Copy link
Member

web-padawan commented Oct 13, 2020

As a LitElement user I want to configure Vaadin components html tagged literals and not renderer functions.

Components affected

Expectations

  • this can be implemented as opt-in feature, for example as a set of lit-html directives that use renderer internally
  • need to make sure eventContext is handled properly. Current DX for it is quite painful: 1, 2
@web-padawan web-padawan self-assigned this Oct 16, 2020
@web-padawan web-padawan changed the title Create helpers for using lit-html templates instead of renderer function Create helpers for using Lit templates instead of renderer function Apr 28, 2021
@web-padawan web-padawan transferred this issue from vaadin/vaadin-core Apr 28, 2021
@web-padawan web-padawan removed their assignment Apr 28, 2021
@web-padawan web-padawan added the enhancement New feature or request label Apr 28, 2021
@web-padawan
Copy link
Member Author

Prototype using Lit 2 pre-release: https://github.com/web-padawan/lit-vaadin-helpers

@web-padawan web-padawan added the no-polymer Removing Polymer from Vaadin public APIs label Apr 29, 2021
@web-padawan
Copy link
Member Author

Published [email protected] which is an early preview (pre-alpha) version of helpers.

@web-padawan
Copy link
Member Author

Related issue for vaadin-grid-pro: #366

@web-padawan
Copy link
Member Author

@vursen
Copy link
Contributor

vursen commented May 5, 2022

Created a ticket to not forget about documentation for Lit directives: vaadin/docs#1356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request typescript TypeScript definitions issue
Projects
None yet
Development

No branches or pull requests

3 participants