When [ "foo", "BAR", "baz" ] is transformed to [ "BAR" ], all elements will be deleted then "BAR" will be recreated.
In version 0.27.6, [ "foo", "BAR", "baz" ] is transformed to [ "BAR" ] by deleting "foo" and "baz", which seems more reasonable.
Here is the code demonstrates this situation. https://codepen.io/j-sen/pen/MWzdBdP
When
[ "foo", "BAR", "baz" ]is transformed to[ "BAR" ], all elements will be deleted then"BAR"will be recreated.In version 0.27.6,
[ "foo", "BAR", "baz" ]is transformed to[ "BAR" ]by deleting"foo"and"baz", which seems more reasonable.Here is the code demonstrates this situation. https://codepen.io/j-sen/pen/MWzdBdP