flipace/react-themeit

refs can't be set on stateless components

Offen

#9 geöffnet am 09.11.2017

 (0 Kommentare) (0 Reaktionen) (2 zugewiesene Personen)JavaScript (2 Forks)github user discovery
bugenhancementhelp wanted

Repository-Metriken

Stars
 (28 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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