News for hackers. Stuff that matters.
Re:Enhancing functions and variables with lifecycles for UI ... by ahmadwasfi on Wednesday February 26, 2025 @09:33PM (#43190714)
I have spent over two years figuring out how to solve asynchronous operations in front-end development and provide a unified solution for UI, API loading, animations, state management, and so on. I discovered that it is possible by enhancing the core building blocks which are functions and variables and giving them lifecycles. The result is targets, which also provide unified interface for functions and variables making them equal citizens. Here is an updated version of the framework, available at https://github.com/livetrails/targetjs.
Re:Enhancing functions and variables with lifecycles for UI ... by gnabgib on Wednesday February 26, 2025 @09:36PM (#43190730)
Have there been big changes since your Show HN 7 months ago? (52 points, 49 comments) https://news.ycombinator.com/item?id=40970311
Re:Enhancing functions and variables with lifecycles for UI ... by ahmadwasfi on Wednesday February 26, 2025 @09:46PM (#43190784)
Yes, there have been significant improvements since the Show HN post. I put in another seven months of development and refinement.