Dashboard Performance - Make components Pure or Memorize them
Open
performance
team/dumplings
team/ui
- Dominant language
- TypeScript
- Stars
- 117
- Forks
- 51
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 4
Description
### Background
Components can often needlessly re-render when receiving the same props due to how react does comparisons between previous props and next props. Making class components `PureComponent` or wrapping function components in `React.Memo` can solve this problem for components that re-render frequently but have props that don't change Frequently
### Potential Components:
- [ ] `NavHeader`
- [ ] `InnerView` (inside visualization/components/View.tsx)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.