jed_fox1’s avatarjed_fox1’s Twitter Archive — № 58

  1. …in reply to @wongmjane
    @wongmjane Isn’t that how React works? The DOM nodes are kept the same as long as their type (i.e. <div> vs <p> etc) stays the same across renders. Presumably in this case only the attributes are changing, while the avatar element isn’t modified at all.