Scheduler
scheduler
Cooperative scheduler for the browser environment.
Utilities
react
scheduler
Utilities
javascript
npm
frontend
open source
ui
library
web
Stars
252k
Weekly
119M
Open issues
1469
Bundle
~15 kB
Installation
npm install schedulerCode example
import { useScheduler } from "scheduler";
export function Example() {
const value = useScheduler();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by fb
- 119M weekly downloads. Battle tested
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 1469 open issues on GitHub