-
-
-```JavaScript
-ReactDOM.render(
- React.createElement(NavHeader),
- document.getElementById('fern-header'),
-)
-```
-
-#### Example custom footer
-
-
-
-
-
-```JavaScript
-ReactDOM.render(
- React.createElement(NavFooter),
- document.getElementById('fern-footer'),
-)
-```
-
-### Important notes
-
-- `ReactDOM.render()` may need to be called multiple times to prevent it from unmounting (this side-effect will be removed in the future).
-- `yarn build` or `npm build` must generate files with deterministic names to be referenced in `docs.yml`. The above example uses a [`vite` config](https://github.com/fern-api/docs-custom-js-example/blob/main/custom-app/vite.config.ts) to accomplish this.
-- For your hosted Docs site, you may need to update your CD steps to include building the react-app.
-- Custom components aren't supported in local development, but are supported in preview links.
-
-