Skip to content

Commit

Permalink
Merge pull request #1 from hey-red/patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
szalapski authored Aug 9, 2022
2 parents 8b24866 + 0836120 commit 46ff7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Suppose that you have a component that is being rerendered undesirably often. F
2. Inherit from `DisplayHashRerenderComponentBase` on the component that you wish to reduce rerender frequency:

```c#
@inherit DisplayHashRerenderComponentBase
@inherits DisplayHashRerenderComponentBase
```

3. Override the abstract method `GetDisplayHash` to return a string that represents *all* the displayed state of the component. That is, it should return a different value when any displayable state changes, and the same value when no visible change happens.
Expand Down

0 comments on commit 46ff7f3

Please sign in to comment.