Brian M Hunt
Brian M Hunt
JSS supports TC39 (#22) observables, so I'd argue to properly get jss support we'd want TC39. Experimenting now.
Thanks for posting - great suggestion. The PagerJS model seems like a pretty good tact, and ideally before adding to TKO (which I think is a good idea) some updates...
@jfrank14 The plan is to use `Proxy` natively in TKO. A little documentation has been started, here: https://github.com/knockout/tko/blob/master/packages/tko.computed/docs/proxy.md Based on browser support Proxy is the [correct solution](https://caniuse.com/#feat=proxy), long term, but...
@caseyWebb the plan is for proxy to be in tko but not knockout 4. On the spectrum of an app to dynamic Web page the Proxy is deep in Web...
@jfrank14 Among other benefits, the [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) solution offers dynamics after initialization i.e. observable properties can be assigned after the object is created. Properly speaking, `tko` is a monorepo that holds...
@caseyWebb Agree; we want to be clear on the distinction between tko and ko — highlighting backwards compatibility. @miellaby `tko.proxy` in master can't do that, but I've only to mull...
Note that we've content in: - https://github.com/knockout/io.tko/tree/archive/2019/from-tko and - https://github.com/knockout/io.tko/tree/archive/2016%2Foriginal - https://github.com/knockout/tko/tree/main/builds/reference/docs
@codymullins Thanks -- is what you need to create a `.ts` file in the `index.js` of this repo?
Ideally I think, if it's possible, the Typescript definitions ought to be in the leaves. That way, when someone decides to mix-and-match with other packages that follow the "tko formula"...
Awesome. There's quite a bit of work on this in main Knockout, which we'll want to remain compatible with. Feel free to break out a PR for this.