From fe52022e42319df15cb75decb2aabafc42b53592 Mon Sep 17 00:00:00 2001 From: Drewbi Date: Mon, 15 Jun 2020 12:45:17 +0800 Subject: [PATCH] docs(v2): add router implementation note --- website/docs/docusaurus-core.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/docs/docusaurus-core.md b/website/docs/docusaurus-core.md index a1248b7c1880..babaecf20e5f 100644 --- a/website/docs/docusaurus-core.md +++ b/website/docs/docusaurus-core.md @@ -103,6 +103,12 @@ function Home() { } ``` +:::note + +`@docusaurus/router` implements [React Router](https://reacttraining.com/react-router/web/guides/quick-start) and supports its features. + +::: + ### `` The `` component accepts a `children` prop, a render function which will not be executed during the pre-rendering phase of the build process. This is useful for hiding code that is only meant to run in the browsers (e.g. where the `window`/`document` objects are being accessed). To improve SEO, you can also provide fallback content using the `fallback` prop, which will be prerendered until in the build process and replaced with the client-side only contents when viewed in the browser.