function replaceNode(source, node, text) {
  return `${source.slice(0, node.range[0])}${text}${source.slice(node.range[1])}`;
}
@fileoverview Enforce shorthand or standard form for React fragments.
@author Alex Zherdev