From 033173a81d65364aebec6e18b9e7968cb0b42f0a Mon Sep 17 00:00:00 2001 From: Nguimeya Bill-gates Date: Tue, 7 Jun 2022 01:01:16 +0100 Subject: [PATCH] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53162e94..13283f98 100644 --- a/README.md +++ b/README.md @@ -1581,7 +1581,7 @@ You can download the PDF and Epub version of this repository from the latest run This method is used to render a React element into the DOM in the supplied container and return a reference to the component. If the React element was previously rendered into container, it will perform an update on it and only mutate the DOM as necessary to reflect the latest changes. ``` - ReactDOM.render(element, container[, callback]) + ReactDOM.render(element, container, [callback]) ``` If the optional callback is provided, it will be executed after the component is rendered or updated.