Skip to content
Discussion options

You must be logged in to vote

I’m not sure I understand your intent, but you need :key and I’d move display into a pure function just to simplify state (it’s just a calculation based on currIx so in this example it makes more sense but not sure your intent exactly). https://codepen.io/danddanddand/pen/JjNoQZY

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@paletas
Comment options

@danddanddand
Comment options

@paletas
Comment options

Answer selected by paletas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants