News for hackers. Stuff that matters.
Re:Algebraic Effects for React Developers by stevebmark on Monday November 02, 2020 @12:20AM (#24965033)
Hooks have unlocked a power in React and front end development we haven't seen before, that is going to lead to bigger things. I don't know if hooks are going to be the end state, but the ability to create reusable functionality encapsulated in a hook has solved a lot of problems we previously had of the awkwardness of sharing behavior across components.
Re:Algebraic Effects for React Developers by hackerfromthefu on Monday November 02, 2020 @12:03PM (#24970314)
Reusable encapsulated functionality for front end components has existed before in a number of front end frameworks, I can cite Delphi VCL and .NET Winforms as two I'm familiar with. Have a look at how tooltips are implemented in Winforms ..