flipace / flipace/react-themeit
refs can't be set on stateless components
Open
bug
enhancement
help wanted
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
When using themeit with react 16 on a stateless component react will log an error about stateless components not supporting refs (ofc). Themeit should check the component type before adding the ref prop.
Contributor guide
Assessment
This issue has not been assessed yet.