From d23903d5881a1f9072972983ff1187d7c7c8cca9 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Fri, 26 Apr 2024 11:40:24 +0200 Subject: [PATCH] Add redirects for moved rsc pages --- vercel.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vercel.json b/vercel.json index 7183e4a0918..957c2502784 100644 --- a/vercel.json +++ b/vercel.json @@ -158,6 +158,21 @@ "source": "/link/new-jsx-transform", "destination": "https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html", "permanent": false + }, + { + "source": "/reference/react/directives", + "destination": "/reference/rsc/directives", + "permanent": true + }, + { + "source": "/reference/react/use-client", + "destination": "/reference/rsc/use-client", + "permanent": true + }, + { + "source": "/reference/react/use-server", + "destination": "/reference/rsc/use-server", + "permanent": true } ], "headers": [