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

Renders on every hass update #53

Closed
htmltiger opened this issue May 24, 2021 · 2 comments
Closed

Renders on every hass update #53

htmltiger opened this issue May 24, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@htmltiger
Copy link

Hi,

I have added a large table but after adding it the browser was so slow and found the cause to be flex table.
just added this

   set hass(hass) {
        const config = this._config;
        const root = this.shadowRoot;
	console.log('set hass');

and in the chrome developer tools it is refreshing so many times in a second and it is redrawing the whole table.

I think shouldUpdate(changedProps) {... } function should help

Thanks.

@daringer daringer added the bug Something isn't working label Apr 20, 2022
@ildar170975
Copy link
Contributor

ildar170975 commented Jun 25, 2022

Seems that I see the same issue.
If I open Code Inspector for a flex-table card, I observe a permanent updating of the card:
a1
See that flickering on the DOM tree.

@daringer
Copy link
Collaborator

daringer commented Sep 3, 2023

closed by #103

@daringer daringer closed this as completed Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants