Skip to content

Commit

Permalink
chore: Recommend lit over polymer (#9968)
Browse files Browse the repository at this point in the history
Add recommendation to use LitTemplate
instead of PolymerTemplate into polymer
JavaDocs.

Closes #8862
  • Loading branch information
caalador authored Feb 4, 2021
1 parent cd21f03 commit 7df84a5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import org.slf4j.LoggerFactory;

import com.vaadin.flow.internal.StringUtil;
import com.vaadin.flow.server.frontend.FrontendUtils;

import elemental.json.Json;
import elemental.json.JsonArray;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
* Publishes the annotated method so it can be invoked from the client side as
* template event handlers.
*
* Recommend using {@code LitTemplate} instead of PolymerTemplate as Polymer will
* be deprecated in the next LTS version.
*
* @see EventData
* @author Vaadin Ltd
* @since 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
* the value to be the methodName e.g. for {@code setSubItem(...)} use
* {@code @ModelItem("subItem")}.
*
* Recommend using {@code LitTemplate} instead of PolymerTemplate as Polymer will
* be deprecated in the next LTS version.
*
* @author Vaadin Ltd
* @since 1.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* that the injected element will have functional limitations on the server
* side.
*
* Recommend using {@code LitTemplate} instead of PolymerTemplate as Polymer will
* be deprecated in the next LTS version.
*
* @param <M>
* a model class that will be used for template data propagation
*
Expand Down

0 comments on commit 7df84a5

Please sign in to comment.