code: function getChildOnLoad(animate, data, cb) {
    animate = assign({}, animate, { onEnd: cb });
    if (animate && animate.onLoad && !animate.onLoad.duration) {
      return { animate, data };
    }
    const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : identity;
    // If nodes need to exit, transform them with the provided onLoad.after function.
    data = data.map((datum, idx) => {
      return assign({}, datum, after(datum, idx, data));
    });
  
    return { animate, data };
  }
docs: eslint-disable-next-line max-params