From 589c0338c59bf08bceb26bd00d28ec7225d1215f Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Wed, 9 Jun 2021 16:16:53 -0400 Subject: [PATCH] Add /link/switch-to-createroot (#3730) Redirects to the working group document that explains how to upgrade from ReactDOM.render to ReactDOM.createRoot. https://github.com/reactwg/react-18/discussions/5 --- static/_redirects | 1 + 1 file changed, 1 insertion(+) diff --git a/static/_redirects b/static/_redirects index 992353033..f3f7146bd 100644 --- a/static/_redirects +++ b/static/_redirects @@ -41,3 +41,4 @@ https://en.reactjs.org/* https://reactjs.org/:splat 301! /link/uselayouteffect-ssr https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85 301 /link/react-devtools-faq https://github.com/facebook/react/tree/master/packages/react-devtools#faq 301 /link/setstate-in-render https://github.com/facebook/react/issues/18178#issuecomment-595846312 301 +/link/switch-to-createroot https://github.com/reactwg/react-18/discussions/5