Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
kostaskougios committed Mar 8, 2024
1 parent 94f04d3 commit 99de043
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@ the state in the client scripts.

![architecture](docs/images/terminal21-architecture.png)

# Mutability

terminal21 ui components are immutable from v0.20. Use `component.withX(...).renderChanges()` to modify a component
and render it. Note that the original `component` is not changed.

Also, when getting a value of i.e. an Input, use `myInput.current.value`. `current` makes sure we read the component with
all changes that may have occurred at the browser and all the changes we did on our script.

# Need help?

Please use the [discussions](https://github.com/kostaskougios/terminal21-restapi/discussions) of the project to post any questions, comments or ideas.
Expand Down

0 comments on commit 99de043

Please sign in to comment.