Skip to content

Commit 4168b07

Browse files
committed
Update readme
1 parent cc8052a commit 4168b07

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ The mediator can be created and set in the `AbstractParentViewModel` either by o
152152

153153
A component has five distinct states (see `ComponentState`):
154154

155-
| **State** | **Description** |
156-
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
157-
| **Creating** | The component is currently being created. During this phase, both the `ComponentViewModel` and the `ComponentView` objects are being constructed, but initialization has not yet started. |
158-
| **Initializing** | The component is in the process of initialization. This phase begins when the `ComponentView#initialize()` method is invoked, during which bindings, listeners, and other setup logic are established. |
159-
| **Initialized** | The component has been fully initialized and is ready for use. It enters this state upon completion of the `ComponentView#initialize()` method, but before the call to the `AbstractComponentView#postInitialize()` method. |
160-
| **Deinitializing** | The component is in the process of deinitialization. This phase begins when the `ComponentView#deinitialize()` method is invoked, during which bindings are removed, listeners are detached, and cleanup logic is performed. |
161-
| **Deinitialized** | The component has been completely deinitialized and can no longer be used. It enters this state upon completion of the `ComponentView#deinitialize()` method, but before the call to the `AbstractComponentView#postDeinitialize()` method. When transitioning to this state, the `ComponentViewModel` state is saved to the `ComponentHistory`. |
155+
| **State** | **Description** |
156+
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
157+
| **Creating** | The component is currently being created. During this phase, both the `ComponentViewModel` and the `ComponentView` objects are being constructed, but initialization has not yet started. |
158+
| **Initializing** | The component is in the process of initialization. This phase begins when the `ComponentView#initialize()` method is invoked, during which bindings, listeners, and other setup logic are established. When the component transitions to this state, the `ComponentViewModel` restores its state from the `ComponentHistory`. |
159+
| **Initialized** | The component has been fully initialized and is ready for use. It enters this state upon completion of the `ComponentView#initialize()` method, but before the call to the `AbstractComponentView#postInitialize()` method. |
160+
| **Deinitializing** | The component is in the process of deinitialization. This phase begins when the `ComponentView#deinitialize()` method is invoked, during which bindings are removed, listeners are detached, and cleanup logic is performed. |
161+
| **Deinitialized** | The component has been completely deinitialized and can no longer be used. It enters this state upon completion of the `ComponentView#deinitialize()` method, but before the call to the `AbstractComponentView#postDeinitialize()` method. When the component transitions to this state, the `ComponentViewModel` saves its state to the `ComponentHistory`. |
162162

163163
Each component features `ComponentView#initialize()` and `ComponentView#deinitialize()` methods, which initialize and
164164
deinitialize the component, respectively, altering its state. The default implementation of these methods in

0 commit comments

Comments
 (0)