From 54c114506fe50a61eb4c45d8feeadcc304e7d407 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Wed, 9 Jun 2021 14:37:26 -0400 Subject: [PATCH] Add /link/switch-to-createroot 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 99235303313..f3f7146bdf0 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