Skip to content

Unable to use :key in JSX #3976

Answered by ekwoka
dullkingsman asked this question in 1. Help
Jan 11, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

This is not an Alpine issue.

You need to extend the JSX interface to provide additional attributes to the element interface.

technically, :key is just x-bind:key as a special case

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dullkingsman
Comment options

You must be logged in to vote
1 reply
@believelody
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants