codeforboston / codeforboston/cliff-effects
Switch to component classes instead of stateless functional components?
Open
discussion needed
infrastructure
tech-debt
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Wanted to bring this up for discussion; it appears that Stateless Functional components (i.e. components declared as simple functions, not classes) are not (easily) selectable in React Devtools ([intentionally](https://github.com/facebook/react-devtools/issues/1142)). The `$r` shortcut is really useful for inspecting state and props. Should we convert our components to class components?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.