KnockoutJS: computed vs. pureComputed
They are very similar. The difference is that pureComputed has some performance optimizations, and tries to prevent memory leaks, by being smart about who’s tracking its changes. You can safely replace computed with pureComputed in a lot of cases. The function inside the computed should follow this: 1.Evaluating the computed observable should not cause any … Read more