Why then it's still few years behind React with its verbose class based approach?
Functions are first class citizens in Dart, so what's stopping Flutter team to improve in this direction?
Would like to hear some technical aspects and implications of this matter.
https://stackoverflow.com/a/53234826
There is a library that would allow you to declare functional components, however it relies on code generation which might discourage others from using it. Dart is planning on adding static metaprogramming though, and that might provide a way to introduce functional components to Flutter without codegen.
The hooks however are cancer; React going forward with those is like trying to go forward in reverse gear. Replace a straightforward OO API with something "functional" where the result depends on the sequence the functions get called in...
Side effect city.