Unanswered: (DataItem) Is record.get the same as record.data?
Unanswered: (DataItem) Is record.get the same as record.data?
I noticed in the updateRecord function that i can handle my data using either record.get('someField') or record.data.someField. Are they both the same or record.data.someField more static?
I created some DataItems so that several components would keep up to date with the changes to the database auto-magically.
My issue is that all of my models have associations (nestled fields). In order for me to iterate through the nestled fields to build my components, I've been using record.data. I haven't figured out the equivalent record.get command.
I just want to be sure that using the record.data nomenclature will allow for the components to dynamically update the same way as record.get would.