I’m in the processing of upgrading lots of components to glimmer.
I’ve noticed subtle differences around the
When the array changes, each component in the loop is rendered as expected:
Pre glimmer: http://jsfiddle.net/amk221/6mjskzp4/
When the array changes, nothing happens
This is solved by adding
key='id' to the each helper.
I get that this is react-style rendering in action, but my questions are:
- Why was this never mentioned?
- What is the rule of thumb for using it?