docs(core): fixing broken links in useIsBrowser section's caveat explanation about "hydration completion" versus "is in the browser environment"

This commit is contained in:
Sercan AKMAN 2023-02-17 20:44:54 +00:00
parent 628995e14e
commit 47cc3e62e8

View file

@ -488,8 +488,8 @@ export default MyComponentParent;
There are a couple more alternative solutions to this problem. However all of them require adding checks in **the parent component**: There are a couple more alternative solutions to this problem. However all of them require adding checks in **the parent component**:
1. You can wrap `<MyComponent />` with [`BrowserOnly`](../docusaurus-core.mdx#browseronly) 1. You can wrap `<MyComponent />` with [`BrowserOnly`](./docusaurus-core.mdx#browseronly)
2. You can use `canUseDOM` from [`ExecutionEnvironment`](../docusaurus-core.mdx#executionenvironment) and `return null` when `canUseDOM` is `false` 2. You can use `canUseDOM` from [`ExecutionEnvironment`](./docusaurus-core.mdx#executionenvironment) and `return null` when `canUseDOM` is `false`
### `useBaseUrl` {#useBaseUrl} ### `useBaseUrl` {#useBaseUrl}