Skip to content

Commit 6310c8a

Browse files
authored
Add /link redirects (#6670)
* Add /link redirects * Update event pooling redirect
1 parent 6e650f9 commit 6310c8a

File tree

1 file changed

+131
-0
lines changed

1 file changed

+131
-0
lines changed

vercel.json

+131
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,137 @@
1313
"source": "/learn/meet-the-team",
1414
"destination": "/community/team",
1515
"permanent": true
16+
},
17+
{
18+
"source": "/link/warning-keys",
19+
"destination": "/learn/rendering-lists#keeping-list-items-in-order-with-key",
20+
"permanent": false
21+
},
22+
23+
{
24+
"source": "/link/invalid-hook-call",
25+
"destination": "/warnings/invalid-hook-call-warning",
26+
"permanent": false
27+
},
28+
{
29+
"source": "/link/hooks-data-fetching",
30+
"destination": "/reference/react/useEffect#fetching-data-with-effects",
31+
"permanent": false
32+
},
33+
{
34+
"source": "/link/special-props",
35+
"destination": "/warnings/special-props",
36+
"permanent": false
37+
},
38+
{
39+
"source": "/link/dangerously-set-inner-html",
40+
"destination": "/reference/react-dom/components/common#dangerously-setting-the-inner-html",
41+
"permanent": false
42+
},
43+
{
44+
"source": "/link/controlled-components",
45+
"destination": "/reference/react-dom/components/input#controlling-an-input-with-a-state-variable",
46+
"permanent": false
47+
},
48+
{
49+
"source": "/link/react-devtools",
50+
"destination": "/learn/react-developer-tools",
51+
"permanent": false
52+
},
53+
{
54+
"source": "/link/invalid-aria-props",
55+
"destination": "/warnings/invalid-aria-prop",
56+
"permanent": false
57+
},
58+
{
59+
"source": "/link/switch-to-createroot",
60+
"destination": "/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis",
61+
"permanent": false
62+
},
63+
{
64+
"source": "/link/error-boundaries",
65+
"destination": "/reference/react/Component#catching-rendering-errors-with-an-error-boundary",
66+
"permanent": false
67+
},
68+
{
69+
"source": "/link/strict-mode-find-node",
70+
"destination": "/reference/react-dom/findDOMNode#alternatives",
71+
"permanent": false
72+
},
73+
{
74+
"source": "/link/rules-of-hooks",
75+
"destination": "/warnings/invalid-hook-call-warning",
76+
"permanent": false
77+
},
78+
{
79+
"source": "/link/event-pooling",
80+
"destination": "https://legacy.reactjs.org/docs/legacy-event-pooling.html",
81+
"permanent": false
82+
},
83+
{
84+
"source": "/link/legacy-context",
85+
"destination": "https://legacy.reactjs.org/docs/legacy-context.html",
86+
"permanent": false
87+
},
88+
{
89+
"source": "/link/crossorigin-error",
90+
"destination": "https://legacy.reactjs.org/docs/cross-origin-errors.html",
91+
"permanent": false
92+
},
93+
{
94+
"source": "/link/react-polyfills",
95+
"destination": "https://legacy.reactjs.org/docs/javascript-environment-requirements.html",
96+
"permanent": false
97+
},
98+
{
99+
"source": "/link/wrap-tests-with-act",
100+
"destination": "https://legacy.reactjs.org/docs/test-utils.html#act",
101+
"permanent": false
102+
},
103+
{
104+
"source": "/link/refs-must-have-owner",
105+
"destination": "https://legacy.reactjs.org/warnings/refs-must-have-owner.html",
106+
"permanent": false
107+
},
108+
{
109+
"source": "/link/derived-state",
110+
"destination": "https://legacy.reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html",
111+
"permanent": false
112+
},
113+
{
114+
"source": "/link/strict-mode-string-ref",
115+
"destination": "https://legacy.reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs",
116+
"permanent": false
117+
},
118+
{
119+
"source": "/link/perf-use-production-build",
120+
"destination": "https://legacy.reactjs.org/docs/optimizing-performance.html#use-the-production-build",
121+
"permanent": false
122+
},
123+
{
124+
"source": "/link/unsafe-component-lifecycles",
125+
"destination": "https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html",
126+
"permanent": false
127+
},
128+
{
129+
"source": "/link/test-utils-mock-component",
130+
"destination": "https://gist.github.com/bvaughn/fbf41b3f895bf2d297935faa5525eee9",
131+
"permanent": false
132+
},
133+
{
134+
"source": "/link/attribute-behavior",
135+
"destination": "https://legacy.reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html#changes-in-detail",
136+
"permanent": false
137+
},
138+
{
139+
"source": "/link/react-devtools-faq",
140+
"destination": "https://github.com/facebook/react/tree/main/packages/react-devtools#faq",
141+
"permanent": false
142+
},
143+
{
144+
"source": "/link/setstate-in-render",
145+
"destination": "https://github.com/facebook/react/issues/18178#issuecomment-595846312",
146+
"permanent": false
16147
}
17148
],
18149
"headers": [

0 commit comments

Comments
 (0)