Skip to content

Commit 8968290

Browse files
committed
remove property to prevent too much re-rendering
1 parent 9aeb3ed commit 8968290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/ufm/components/ufm-render/ufm-render.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export class UmbUfmRenderElement extends UmbLitElement {
5151
@property()
5252
markdown?: string;
5353

54-
@property({ attribute: false })
5554
public set value(value: string | unknown | undefined) {
5655
this.#context.setValue(value);
5756
}
@@ -83,6 +82,7 @@ export class UmbUfmRenderElement extends UmbLitElement {
8382
}
8483

8584
override render() {
85+
console.log("re-render?", this)
8686
return until(this.#renderMarkdown());
8787
}
8888

0 commit comments

Comments
 (0)