Just stumbled on this puzzle when researching Currying. It’s an old post, but still interesting, and a fun illustration given how little the
Thanks for your reply.
I am interested in giving ReactN a try. When looking at the example code, I like that you also provide class component approach for handling global state in addition to the function component way using Hooks. Thanks for creating custom Hooks named useGlobal; I hope it will give reliable solution for…
Nice. I have just realized that I will need global states. As a relatively new in React and actually in web dev too (my background is in desktop non-web), I temporarily ignored them, and only focused on local state which already have its own inherent characteristics that are not easy to manage.