Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@J-Michalek
Copy link
Contributor

πŸ”— Linked issue

Resolves #4947

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

I've changed the proxySlots from a static value into a getter so that the template is able to pick up changes in the slots object at runtime. The slots object returned from defineSlots seemingly does not trigger any effects, thats why we need to use a getter instead of a computed.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@github-actions github-actions bot added the v4 #4488 label Sep 14, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 14, 2025

npm i https://pkg.pr.new/@nuxt/ui@4969

commit: 52cc518

Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

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

Thanks! 😊

@benjamincanac benjamincanac merged commit 3173bee into nuxt:v4 Sep 14, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No re-rendering in proxySlots

2 participants