Skip to content
Discussion options

You must be logged in to vote

Currently you can return the components as an array and sort them. This is what I use as a workaround for this.

{data.sort(...).map((c, i) => <Circle key={c} c={c} r={10} />)}

Things get tricky when you want to animate on the order, hopefully we will have a solution for this in the future.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by damsonFilipson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants