Because just the top-level field changing invalidates everything in the sub-document, a single attribute change would trigger a re-calculation on all attributes and their dependents. This change should significantly improve performance.
4 lines
91 B
JavaScript
4 lines
91 B
JavaScript
Schemas.Proficiency = new SimpleSchema({
|
|
name: {type: String},
|
|
source: {type: String}
|
|
}) |