fix: additional check for component on destroy (svelte4) by hardl · Pull Request #11489 · sveltejs/svelte (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

sveltejs / svelte Public

Additional navigation options

Merged

dummdidumm

merged 3 commits into

sveltejs:svelte-4from

hardl:ce-instance-check2

May 6, 2024

ConversationCommits (3)ChecksFiles changed

Merged

fix: additional check for component on destroy (svelte4)#11489

dummdidumm

merged 3 commits into

sveltejs:svelte-4from

hardl:ce-instance-check2

Conversation

@hardl

@hardl hardl commented

May 6, 2024

Copy link Copy Markdown

Contributor

svelte 4 version of #11488
fix for #10454

gterras reacted with thumbs up emoji

@hardl

[this.$$c may be undefined if element was removed from DOM right after…](/sveltejs/svelte/pull/11489/commits/fccccd4580a6328ad6f4158e33668e1d4718fac8 "this.$$c may be undefined if element was removed from DOM right after attaching")

[fccccd4](/sveltejs/svelte/pull/11489/commits/fccccd4580a6328ad6f4158e33668e1d4718fac8)

… attaching

@changeset-bot

changeset-bot Bot commented

May 6, 2024

edited

Loading

Copy link Copy Markdown

🦋 Changeset detected

Latest commit: dcca394

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package

Name Type
svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

dummdidumm

dummdidumm approved these changes May 6, 2024

View reviewed changes

@dummdidumm dummdidumm left a comment •

edited

Loading

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Thank you! Could you add a changeset? Then we're good to merge.

@hardl

[added changeset](/sveltejs/svelte/pull/11489/commits/696afa5eb16d315280f68910f9a5201c3c66fbb7 "added changeset")

[696afa5](/sveltejs/svelte/pull/11489/commits/696afa5eb16d315280f68910f9a5201c3c66fbb7)

dummdidumm

dummdidumm approved these changes May 6, 2024

View reviewed changes

Comment thread

.changeset/many-trainers-pretend.md Outdated

@dummdidumm

[Update .changeset/many-trainers-pretend.md](/sveltejs/svelte/pull/11489/commits/dcca3949f2adbb0d45215f431c7a8fabb2e73ebc "Update .changeset/many-trainers-pretend.md")

[dcca394](/sveltejs/svelte/pull/11489/commits/dcca3949f2adbb0d45215f431c7a8fabb2e73ebc)

@dummdidumm dummdidumm merged commit 1bab571 into sveltejs:svelte-4

May 6, 2024

@github-actions github-actions Bot mentioned this pull request

May 6, 2024

Version Packages#11491

Merged

@ovx ovx mentioned this pull request

Oct 10, 2024

fix: properly remove event listeners in Component's removeEventListener (v4)#13556

Merged

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dummdidumm dummdidumm dummdidumm approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@hardl @dummdidumm