Browse Source

Add redirects

main
Dan Abramov 4 years ago
committed by GitHub
parent
commit
772f627728
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 41
      vercel.json

41
vercel.json

@ -1,5 +1,44 @@
{
"github": {
"silent": true
}
},
"redirects": [
{ "source": "/tips/controlled-input-null-value.html" "destination": "/docs/forms.html#controlled-input-null-value", "permanent": false },
{ "source": "/concurrent" "destination": "/docs/concurrent-mode-intro.html", "permanent": false },
{ "source": "/hooks" "destination": "/docs/hooks-intro.html", "permanent": false },
{ "source": "/tutorial" "destination": "/tutorial/tutorial.html", "permanent": false },
{ "source": "/your-story" "destination": "https://www.surveymonkey.co.uk/r/MVQV2R9", "permanent": false },
{ "source": "/stories" "destination": "https://medium.com/react-community-stories", "permanent": false },
{ "source": "/html-jsx.html" "destination": "https://magic.reactjs.net/htmltojsx.htm" "destination": "", "permanent": false },
{ "source": "/link/attribute-behavior" "destination": "/blog/2017/09/08/dom-attributes-in-react-16.html#changes-in-detail", "permanent": false },
{ "source": "/link/controlled-components" "destination": "/docs/forms.html#controlled-components", "permanent": false },
{ "source": "/link/crossorigin-error" "destination": "/docs/cross-origin-errors.html", "permanent": false },
{ "source": "/link/dangerously-set-inner-html" "destination": "/docs/dom-elements.html#dangerouslysetinnerhtml", "permanent": false },
{ "source": "/link/derived-state" "destination": "/blog/2018/06/07/you-probably-dont-need-derived-state.html", "permanent": false },
{ "source": "/link/error-boundaries" "destination": "/docs/error-boundaries.html", "permanent": false },
{ "source": "/link/event-pooling" "destination": "/docs/events.html#event-pooling", "permanent": false },
{ "source": "/link/hooks-data-fetching" "destination": "/docs/hooks-faq.html#how-can-i-do-data-fetching-with-hooks", "permanent": false },
{ "source": "/link/invalid-aria-props" "destination": "/warnings/invalid-aria-prop.html", "permanent": false },
{ "source": "/link/invalid-hook-call" "destination": "/warnings/invalid-hook-call-warning.html", "permanent": false },
{ "source": "/link/legacy-context" "destination": "/docs/legacy-context.html", "permanent": false },
{ "source": "/link/legacy-factories" "destination": "/warnings/legacy-factories.html", "permanent": false },
{ "source": "/link/mock-scheduler" "destination": "/docs/testing-environments.html#mocking-a-rendering-surface" "destination": "", "permanent": false },
{ "source": "/link/perf-use-production-build" "destination": "/docs/optimizing-performance.html#use-the-production-build", "permanent": false },
{ "source": "/link/react-devtools" "destination": "/blog/2015/09/02/new-react-developer-tools.html#installation", "permanent": false },
{ "source": "/link/react-polyfills" "destination": "/docs/javascript-environment-requirements.html", "permanent": false },
{ "source": "/link/refs-must-have-owner" "destination": "/warnings/refs-must-have-owner.html", "permanent": false },
{ "source": "/link/rules-of-hooks" "destination": "/docs/hooks-rules.html", "permanent": false },
{ "source": "/link/special-props" "destination": "/warnings/special-props.html", "permanent": false },
{ "source": "/link/strict-mode-find-node" "destination": "/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage", "permanent": false },
{ "source": "/link/strict-mode-string-ref" "destination": "/docs/refs-and-the-dom.html#legacy-api-string-refs", "permanent": false },
{ "source": "/link/unsafe-component-lifecycles" "destination": "/blog/2018/03/27/update-on-async-rendering.html", "permanent": false },
{ "source": "/link/warning-keys" "destination": "/docs/lists-and-keys.html#keys", "permanent": false },
{ "source": "/link/wrap-tests-with-act" "destination": "/docs/test-utils.html#act", "permanent": false },
{ "source": "/link/interaction-tracing" "destination": "https://gist.github.com/bvaughn/8de925562903afd2e7a12554adcdda16", "permanent": false },
{ "source": "/link/profiling" "destination": "https://gist.github.com/bvaughn/25e6233aeb1b4f0cdb8d8366e54a3977", "permanent": false },
{ "source": "/link/test-utils-mock-component" "destination": "https://gist.github.com/bvaughn/fbf41b3f895bf2d297935faa5525eee9", "permanent": false },
{ "source": "/link/uselayouteffect-ssr" "destination": "https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85", "permanent": false },
{ "source": "/link/react-devtools-faq" "destination": "https://github.com/facebook/react/tree/master/packages/react-devtools#faq", "permanent": false },
{ "source": "/link/setstate-in-render" "destination": "https://github.com/facebook/react/issues/18178#issuecomment-595846312", "permanent": false }
]
}

Loading…
Cancel
Save