Hacker News new | ask | show | jobs
by pax_americana 1843 days ago
Here's a pretty good explanation.

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.

1 comments

thanks for sharing