Does the core library have plans to support reactive programming? #336
Replies: 4 comments
-
Good idea. I have a WIP version of signal, but not applied |
Beta Was this translation helpful? Give feedback.
-
Maybe we should propose an RFC to discuss the API |
Beta Was this translation helpful? Give feedback.
-
Nice |
Beta Was this translation helpful? Give feedback.
-
Reactive programming is indeed quite powerful for GUI development, especially when it comes to managing state and reacting to user interactions in a clean, declarative way. That said, it’s still a bit early to include a reactive primitive like signal in the core library. There isn’t yet a widely agreed-upon approach or standard for reactive primitives across the broader ecosystem. Different frameworks and communities have their own implementations (e.g., Solid’s createSignal, S.js, MobX, etc.), each with their own trade-offs in terms of ergonomics, performance, and complexity. It makes sense to let libraries experiment and evolve naturally—let the best implementations emerge through usage and community feedback. Over time, the most practical and well-designed patterns tend to stand out. Once there's clearer consensus, that would be a more solid foundation for any potential inclusion in the core. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Reactive programming is quite useful in the field of GUI development. Is there consideration for adding a class like signal?
Beta Was this translation helpful? Give feedback.
All reactions