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

fix: remove useless id field on LogItem #126

Merged
merged 3 commits into from
Sep 24, 2024
Merged

fix: remove useless id field on LogItem #126

merged 3 commits into from
Sep 24, 2024

Conversation

koen1711
Copy link
Member

No description provided.

@koen1711 koen1711 requested a review from a team as a code owner September 22, 2024 17:16
@@ -103,7 +103,7 @@ function insertDate() {
{/if}
{#if mode === Mode.TEXT}
<div class="content" bind:this={element}>
{#each $log as item (item.id)}
{#each $log as item}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is used as a performance optimization by svelte to not require the re-rendering of the entire dom when old items are deleted or items are moved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed now

@koen1711 koen1711 merged commit 91bc474 into main Sep 24, 2024
1 check passed
@koen1711 koen1711 deleted the limited-logs branch September 24, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants