Skip to content

Commit 2597c89

Browse files
committed
2 parents 695c37d + 5f31867 commit 2597c89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
* [Contributing](#contributing)
3131

32+
* [Closure](#closure)
33+
3234
* [License](#license)
3335

3436

@@ -132,6 +134,12 @@ Given below are the different phases for which React measures the performance:
132134

133135
* **Commit lifecycle** - When the first pass was completed while committing the host effects, the work in progress tree became the current tree. So work in progress is current during **componentDidMount/update**. In this phase, all the lifecycles and ref callbacks are committed. **Committing lifecycles happen as a separate pass so that all the placements, updates and deletions in the entire tree have already been invoked**.
134136

137+
## Closure
138+
139+
This extension provides the performance measurements for the React components and supports only React 16 at the moment. However, you can profile your React components using Chrome devtools and reason about the performance by inspecting the user timeline. Also, you can see that the tool is very minimal. I've plans to extend this project further but I'm anticipating that React may provide an API for measuring the performance (which could ease the process) and also enable async rendering.
140+
141+
You can read more about optimizing performance and profiling React components at React's [official documentation](https://reactjs.org/docs/optimizing-performance.html#profiling-components-with-the-chrome-performance-tab).
142+
135143
## Contributing
136144

137145
[Read the contributing guide](./CONTRIBUTING.md)

0 commit comments

Comments
 (0)