Skip to content

Commit

Permalink
Update website/docs/advanced-topics/immutable.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
  • Loading branch information
cecton and ranile authored Jun 20, 2022
1 parent 8e58911 commit a9602c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/advanced-topics/immutable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ to update a value, you must instantiate a new value.

## Why using immutable types?

In a React-like framework, properties are propagated from ancestors to
Properties, like in React, are propagated from ancestors to
children. This means that the properties must live when each component is
updated. This is why properties should —ideally— be cheap to clone. In order to
achieve this we usually wrap things in `Rc`.
Expand Down

0 comments on commit a9602c2

Please sign in to comment.