harmony 鸿蒙Overview of Other State Management Features

  • 2023-06-24
  • 浏览 (679)

Overview of Other State Management Features

In addition to the component state and application state management mentioned in previous topics, ArkTS also provides \@Watch and $$ for state management.

  • \@Watch is used to listen for the changes of state variables.

  • $$operator provides a TS variable by-reference to a built-in component so that the variable value and the internal state of that component are kept in sync.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Quick Start

harmony 鸿蒙app.json5 Configuration File

harmony 鸿蒙Internal Structure of the app Tag

harmony 鸿蒙Application Configuration File Overview (FA Model)

harmony 鸿蒙Application Configuration File Overview (Stage Model)

harmony 鸿蒙Application Installation and Uninstallation Process

harmony 鸿蒙Application Package Overview

harmony 鸿蒙Application Package Structure in FA Model

harmony 鸿蒙Application Package Structure in Stage Model

harmony 鸿蒙Application Package Update Process

0  赞