# ArkUI Development (JS) ## Why can't array variables be used to control component attributes? Applicable to: OpenHarmony (DevEco Studio 3.0.0.993, API version 8) Currently, the web-like development paradigm does not listen for the modification of elements in an array. Therefore, the page refresh can be triggered only when the array object is modified, but not when an element in the array is modified. In the following example, the **test1\(\)** statement, which assigns values to the entire array, will disable the related **\