We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea3af23 commit a29aa64Copy full SHA for a29aa64
1 file changed
src/core/Base.mjs
@@ -78,6 +78,12 @@ class Base {
78
* by using the `Neo.overwrites` mechanism, which modifies these prototype values at
79
* load time.
80
*
81
+ * **vs. Class Fields:**
82
+ * Use a non-reactive config when you want the property to be eligible for the `Neo.overwrites`
83
+ * mechanism. This allows external code (like themes or application-level overrides) to change
84
+ * the default value for the class, which then propagates to all subclasses and instances
85
+ * globally. Use standard class fields for internal state that should not be globally reconfigured.
86
+ *
87
* @returns {Object} config
88
*/
89
static config = {
0 commit comments