Skip to content

signals in unmount hook are breaking partial navigation silently #2801

Open
@darkship

Description

@darkship

Hello,
When I navigate between 2 pages using partials, if there is an unmount hook in an island it will break the app until you reload.

Unmount hook (see Counter.tsx)

    useEffect(()=>{
        return ()=> {
            console.log(props.count.value)
        }
    },[])

Repo: https://github.com/darkship/fresh-bug-signal-unmount

signal_bug_unmount-2024-12-26_19.45.29.mp4

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions