What is use of of ko.observable
knockout.js
Solution
KO is that it updates your UI automatically when the view model changes. How can KO know when parts of your view model change? Answer: you need to declare your model properties as observables, because these are special JavaScript objects that can notify subscribers about changes, and can automatically detect dependencies.
It's pretty simple. Just refer the help documentation for knockout.js
http://knockoutjs.com/documentation/observables.html
Hope it helped
Problem
Hi I'm very new to knockout `js`. Please anyone tell me the difference between ``` { id: 1, Name: "Nokia", Price: 3000 } { id: ko.observable(1), Name: ko.observable("Nokia"), Price: ko.observable(3000) ``` Thanks