flipace / flipace/react-themeit
refs can't be set on stateless components
Aperta
bug
enhancement
help wanted
- Lingua principale
- JavaScript
- Stelle
- 27
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.