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

Add dynamic slots section to key-attribute.md page. #668

Closed
wants to merge 1 commit into from
Closed

Add dynamic slots section to key-attribute.md page. #668

wants to merge 1 commit into from

Conversation

lukewarlow
Copy link

Description of Problem

Vue 3 now requires a key attribute to be added to a slot with a dynamic name. As far as I can tell this is currently undocumented.

Proposed Solution

I have added a section to the key-attribute.md page to explain this requirement.

I believe this is the correct place, but happy to move it if there's somewhere more suitable.

Additional Information

vuejs/core#2535 from my issue here, it appears this is expected behaviour, so this MR is to document it.

@skirtles-code
Copy link
Contributor

I think we should hold off on merging this until it is confirmed that this is an intended change. Using a key may be necessary with 3.0.2 but vuejs/core#2535 is currently marked as an open bug. I dare say there'll be more discussion on that issue over the next few days.

@NataliaTepluhina NataliaTepluhina added the state: blocked A label for merge requests where work is blocked label Nov 3, 2020
@yyx990803
Copy link
Member

This is now fixed in core.

@yyx990803 yyx990803 closed this Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: blocked A label for merge requests where work is blocked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants