3 ms·
> which seemed like a lot of generic jquery like magic binding glue They're just a few lines helper [1] to avoid needing to verbose boilerplate of `document.qu
by mythz 4y ago
> which seemed like a lot of generic jquery like magic binding glue
They're just a few lines helper [1] to avoid needing to verbose boilerplate of `document.querySelector()` and `Element.addEventListener()` everywhere when wanting to use old-school jQuery dev model without a jQuery dependency.
I'd personally lean on a Reactive JS FX for anything remotely complex, but these helpers work well to demonstrate simple functionality without a JS FX.
[1] https://github.com/ServiceStack/servicestack-client/blob/d47c3d6dc611dacda97d86330973e8c07f2a3090/src/index.ts#L2143-L2160 https://github.com/ServiceStack/servicestack-client/blob/d47...