You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
There are a lot of "util" methods present in current Knockout code that are part of the ES6 definitions.
They are also implemented in shims, as Babel presets for example. So there is no more need to implement them by our side. Just use the ES6 definition and let the transpilers do the rest.
We can use them directly or adapt the inner code to reuse them, but not reimplementing the wheel.
I'll list all of them here:
Instead of the builtins, I've considered importing the lodash utils. I'm on the fence, because lodash typically faster than the builtins, but it is an external dependency ...
I definitely feel like TKO ought to defer to standards + polyfills (e.g. core.js).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are a lot of "util" methods present in current Knockout code that are part of the ES6 definitions.
They are also implemented in shims, as Babel presets for example. So there is no more need to implement them by our side. Just use the ES6 definition and let the transpilers do the rest.
We can use them directly or adapt the inner code to reuse them, but not reimplementing the wheel.
I'll list all of them here:
Array
Function
Object
The text was updated successfully, but these errors were encountered: