From 2d2af2e6454f4a5cf59cf001fd38a8ed2a7f34dd Mon Sep 17 00:00:00 2001 From: bendtherules Date: Tue, 27 Oct 2020 16:28:36 +0530 Subject: [PATCH] create-modify-element - Replace another Link usage --- docs/create-modify-element.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/create-modify-element.mdx b/docs/create-modify-element.mdx index 5c28e90..a715d7c 100644 --- a/docs/create-modify-element.mdx +++ b/docs/create-modify-element.mdx @@ -223,7 +223,7 @@ This method is used to create a new empty document fragment. DocumentFragment can be considered to be a off-screen lightweight `document` object. It is generally used for batching multiple operations - by doing them in the fragment over time and then rendering the whole content to the visible DOM in one shot . -Because fragment is not rendered, making changes to it doesn't cause any performance impact (no reflow). To **actually "render" the fragment** in the visible document, or `insertBefore`. +Because fragment is not rendered, making changes to it doesn't cause any performance impact (no reflow). To **actually "render" the fragment** in the visible document, use appendChild or `insertBefore`. ```js let fragment = document.createDocumentFragment()