[x] Unit or Functional tests are included in the PR
Description:
Optimistically store the array of "next" siblings for a widget instance to ensure that the correct node can be calculated to insert nodes before. The insert before logic iterates through these siblings and uses the first domNode located before hitting a domNode, if no candidate is found then the node will simply be appended to the parent.
Type: bug
The following has been addressed in the PR:
prettier
as per the readme code style guidelinesDescription:
Optimistically store the array of "next" siblings for a widget instance to ensure that the correct node can be calculated to insert nodes before. The insert before logic iterates through these siblings and uses the first
domNode
located before hitting adomNode
, if no candidate is found then the node will simply be appended to the parent.Resolves #930