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

Render should replace existing content #3

Open
libasoles opened this issue Nov 6, 2021 · 0 comments
Open

Render should replace existing content #3

libasoles opened this issue Nov 6, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@libasoles
Copy link

libasoles commented Nov 6, 2021

IMO, render should replace the current content of the target element.

Like:
container.replaceChildren(elem)

Instead of:
container.appendChild(elem)

Otherwise, when I want to refresh content I see elements adding up instead of the actual content refresh that I think it's expected.

@itsjavi itsjavi added the bug Something isn't working label Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants