react-spring-examples icon indicating copy to clipboard operation
react-spring-examples copied to clipboard

Use Map to store config entries in same order

Open mxck opened this issue 6 years ago • 0 comments

Problem: In safari after manipulating the range input in hooks/config example, the order of the fields in the object changed every time. (video)

Fix: use Map instead of plain object.

mxck avatar Jun 21 '19 15:06 mxck