--

Trust me, I'm well acquainted with class components and their limitations. The idea is to create hook-like abstractions on top of reactive state that are not dependent on React in any way. For example, here is an implementation of promise state management the way that I've proposed https://malerba118.github.io/elementos-docs/docs/examples/request. It's analogous to a useAsync hook.

--

--

Austin Malerba
Austin Malerba

No responses yet