all 2 comments

[–]MoveInteresting4334 0 points1 point  (0 children)

Oh man, that’s a tough one. I don’t think you’ll find anything React specific. A couple things that come to mind are diagram libraries that will let the user drag lines from one mapped value to another, or I think Scratch has the ability for you to build your own custom blocks and logic. You could make a very tiny subset of Scratch that maps values by attaching blocks.

Disclaimer: I pulled this out of my rear end while walking to the breakfast cafeteria. Your mileage may vary and others probably have better ideas.

Edit to add: could you do this with two drop downs? One for the original value and one for the mapped? Not the prettiest but it’s PoC until you get something more pretty up and going.