While working on a backend project, I needed a better way to manage and update statistical data across different components. Inspired by React's useState and useEffect, and frameworks like Preact, Angular, and SolidJS, I dove into the world of Signals.
💡 Instead of adapting existing frontend solutions, I created a Node.js library 'Beacon' that brings the power of Signals to backend development. This library efficiently tracks dependencies, preventing infinite loops and stack overflows, even with complex cyclic dependencies.
🌟 If you're looking to streamline your backend data management, give my library a try! It's potentially makes your development process smoother and more efficient too.
You are referring to https://github.com/tc39/proposal-signals.
The proposal is currently in Stage 1 - Exploration. It'll take some time until we have native Signals in JavaScript.
I stated some differences here:
https://github.com/nerdalytics/beacon?tab=readme-ov-file#key-differences-vs-tc39-proposal
Beacon, may or may not use TC39 Signals as a foundation.
Beacon, may or may not become obsolete with the TC39 Signals becoming GA.
Give Beacon a try, then feed back your experience to TC39.
I think my design easier to get into Signals.
~Thanks