GoogleChromeLabs / GoogleChromeLabs/react-adaptive-hooks
Values like jsHeapSize change over time, whereas useMemoryStatus hook will give a constant value
Open
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
memory info `totalJSHeapSize ` and `usedJSHeapSize ` change over time, whereas `useMemoryStatus` hook return value which was captured during the module load time.
`useInitialMemoryStatus` would have been a better name since this hook returns initial memory status.
Contributor guide
Assessment
This issue has not been assessed yet.