Closed TryingToImprove closed 7 years ago
When creating a new statefull component the template is failing because Component is not defined.
I think it is because of the shared file setup from 3a2e51395c2fd925735d7fc5967c6d85d03fd543
A way to resolve the issue would be just to use React.Component instead for https://github.com/CVarisco/create-component-app/blob/master/src/templates/js/class.template.js.
React.Component
When creating a new statefull component the template is failing because Component is not defined.
I think it is because of the shared file setup from 3a2e51395c2fd925735d7fc5967c6d85d03fd543
A way to resolve the issue would be just to use
React.Component
instead for https://github.com/CVarisco/create-component-app/blob/master/src/templates/js/class.template.js.