Skip to content

Commit

Permalink
Fixed documentation about componentDidAppear and componentWillDisappear
Browse files Browse the repository at this point in the history
hooks
  • Loading branch information
Sampo Kivistö committed Feb 26, 2022
1 parent 0cd49d3 commit cadc0fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The performance is achieved through multiple optimizations, for example:
- Inferno supports setting styles using string `<div style="background-color: red"></div>` or using object literal syntax `<div style={{"background-color": "red"}}></div>`. For camelCase syntax support see [`inferno-compat`](https://github.com/infernojs/inferno/tree/master/packages/inferno-compat).
- Fragments (v6)
- createRef and forwardRef APIs (v6)
- componentDidAppear and componentWillDisappear (v7.5.0) - class component callbacks to ease animation work, see [inferno-animation](https://github.com/infernojs/inferno/tree/master/packages/inferno-animation) package
- componentDidAppear and componentWillDisappear (v8) - class component callbacks to ease animation work, see [inferno-animation](https://github.com/infernojs/inferno/tree/master/packages/inferno-animation) package

## Browser support
Since version 4 we have started running our test suite **without** any polyfills.
Expand Down
2 changes: 1 addition & 1 deletion packages/inferno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The performance is achieved through multiple optimizations, for example:
- Inferno supports setting styles using string `<div style="background-color: red"></div>` or using object literal syntax `<div style={{"background-color": "red"}}></div>`. For camelCase syntax support see [`inferno-compat`](https://github.com/infernojs/inferno/tree/master/packages/inferno-compat).
- Fragments (v6)
- createRef and forwardRef APIs (v6)
- componentDidAppear and componentWillDisappear (v7.5.0) - class component callbacks to ease animation work, see [inferno-animation](https://github.com/infernojs/inferno/tree/master/packages/inferno-animation) package
- componentDidAppear and componentWillDisappear (v8) - class component callbacks to ease animation work, see [inferno-animation](https://github.com/infernojs/inferno/tree/master/packages/inferno-animation) package

## Browser support
Since version 4 we have started running our test suite **without** any polyfills.
Expand Down

0 comments on commit cadc0fb

Please sign in to comment.