Skip to content

fix: prevent stale data in TrackMenu by forcing remount on track change#671

Merged
sifferhans merged 1 commit intobcc-code:mainfrom
andreasgangso:fix/track-menu-wrong-id
Mar 24, 2026
Merged

fix: prevent stale data in TrackMenu by forcing remount on track change#671
sifferhans merged 1 commit intobcc-code:mainfrom
andreasgangso:fix/track-menu-wrong-id

Conversation

@andreasgangso
Copy link
Copy Markdown
Contributor

Using :key on the whole menu prevents future similar issues and is a bit easier to manage, but I'd also recommend updating to a newer nuxt version where you can pass a reactive key to useLazyAsyncData (so you could do useTrackTranscription(() => props.track.id) instead)

Using :key on the whole menu prevents future similar issues and is a bit easier to manage, but I'd also recommend updating to a newer nuxt version where you can pass a reactive key to useLazyAsyncData (so you could do `useTrackTranscription(() => props.track.id)` instead)
Copy link
Copy Markdown
Collaborator

@sifferhans sifferhans left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@sifferhans sifferhans merged commit c241d8d into bcc-code:main Mar 24, 2026
7 checks passed
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