2 ms·
I have been following this GitHub issue for a while now, as a user and fan of Flutter. In my opinion, I have not seen a more clear explanation as to what proble
by satvikpendem 5y ago
I have been following this GitHub issue for a while now, as a user and fan of Flutter. In my opinion, I have not seen a more clear explanation as to what problems hooks (both in React and as a general programming language architectural concept) solve exactly and why other solutions don't work. It is not merely about terseness or typing fewer characters but about the fundamental limitations of composability in class based approaches.
This is the longest thread in Flutter's GitHub issues, and it has some lively debate by the creator of the issue, Rémi Rousselet, the creators of Flutter (Ian Hickson is one, who also wrote the HTML5 specification), and even the creator of Redux, Dan Abramov. I recommend, if you have the time, to follow the discussion between Rémi, @rrousselGit, and Ian, @Hixie, which contains the most pertinent info. I also chimed in here and there, once I understood hooks more thoroughly so that I could help others understand them as well in the thread.