Hi all,
Not to spam or promote my personal projects, but since you asked... :-)
I've been researching the best ways to use Knockout style bindings in a modern environment for over 2 years now and I've bundled my wishes in a small library called Imagine.
I took inspiration from both Knockout's and WPF/XAML's binding engines. The main goal was to have Knockout style bindings that work with any modern 3rd party Web Component.
Other goals (incomplete):
- 2 way bind any property on any Web Component
- Unopinionated / architecture agnostic. Should work in both MVVM and Composition styles. A big part of my motivation was my wish use Composition for reusable (UI-)elements, but "glue" it together MVVM style at higher abstraction levels.
- Performance
- No CSP breaking unsafe evals or other things that plague Knockout in modern environments
- Some things from WPF (transforms, etc)
This is still very much beta and the documentation is lacking on all fronts, but I couldn't ignore this question.
Of course I'm not suggesting using this "beta version that is maintained by one guy" in production, but I am curious how the community feels about something like this. (Even though "the community" doesn't really follow this mailinglist anymore :-) ). Having said that, I've been using it for over a year in prototypes and MVPs and it allows for very rapid prototyping!
Kind regards,
Karim
Op donderdag 30 juni 2022 om 00:12:06 UTC+2 schreef Shawn: