JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › How to get ONLY data properties? › Reply To: How to get ONLY data properties?
August 21, 2019 at 6:52 pm
#100225
admin
Keymaster
Well, ignoring functions won’t do it. Because the Proxy object has e.g. _canNotify which is boolean, propertyName string, notifyFn object.
I could filter these out explicitly (along with functions) after copying with Object.assign() but then I have to worry with each future release what has been added that I have to filter out.
What am I missing here? What is the use of of this if I cannot iterate my own properties that I added in app.data without pollution? I need to make a separate redundant list of my key names, it is a royal pain.