react-native-template icon indicating copy to clipboard operation
react-native-template copied to clipboard

Can't generate React Component Class

Open mcavaliere opened this issue 6 years ago • 2 comments

in the yarn g:component hygen command, choosing Class instead of SFC still outputs a functional component.

mcavaliere avatar Dec 27 '19 15:12 mcavaliere

I think we should remove class as an option. AFAIK there should be very few cases (if any) that we'd need a class over a functional component.

cball avatar Aug 07 '20 14:08 cball

@cball agree.

mcavaliere avatar Aug 08 '20 00:08 mcavaliere