1After. js enables Next. js-like data fetching with any React SSR app that uses
2React Router.
1var parent = document.createElement("div");
2var child = document.createElement("p");
3parent.appendChild(child);
4
5child.after("Text");
6
7console.log(parent.outerHTML);
8// "<div><p></p>Text</div>"