Core
@docusaurus/core
Easy to Maintain Open Source Documentation Websites
Utilities
react
static site generator
webpack
documentation
websites
open source
docusaurus
@docusaurus/core
Utilities
javascript
Stars
67k
Weekly
847k
Open issues
439
Bundle
~25 kB
Installation
npm install @docusaurus/coreCode example
import { useCore } from "@docusaurus/core";
export function Example() {
const value = useCore();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by fb
- 847k weekly downloads. Battle tested
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 439 open issues on GitHub