Remix.run Logo
skybrian 4 days ago

Another way to screw this up would be to have an index counter and do something different based on the index. I think the answer is "don't do that."

kentonv 4 days ago | parent [-]

Hmm, but I should make it so the map callback can take the index as the second parameter probably. Of course, it would actually be a promise for the index, so you couldn't compute on it, but there might be other uses...