#CLI Widget Template

5 messages · Page 1 of 1 (latest)

clever willow
#

What is the reasoning of starting from a class component template over a function component template?
The old CLI used a function component template so i am wondering what the actual reasoning was for the change.

And for anyone else and prefering the function component, are you finding yourself in a position where you are having to copy the function component template from the docs?

Looking forward to the answer from the CLI team 🙂

dry jetty
#

I concur, it’s tiring @clever willow

clever willow
dry jetty
#

Yes, I prefer functional components. I usually clear the class component each time I create a new widget

#

@clever willow