Conversation
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
| ### `onRender` callback {/*onrender-callback*/} | ||
|
|
||
| React will call your `onRender` callback with information about what was rendered. | ||
| React sẽ gọi call `onRender` callback với thông tin về những gì được render. |
There was a problem hiding this comment.
Seems we don't need an extra "call" here.
There was a problem hiding this comment.
Fixed ! Thank you
|
@leduc1901 Thanks for the translation, looking good but it could be better. Could you please review it once more and add a bit more "natural" to the explaining? |
I just tweaked the translation so It could be more natural, can you help me to review it again ? @Ryan-LT thank you ! |
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
| ### `<Profiler>` {/*profiler*/} | ||
|
|
||
| Wrap a component tree in a `<Profiler>` to measure its rendering performance. | ||
| Hãy bọc các component bên trong `<Profiler>` để đo lường hiệu suất. |
There was a problem hiding this comment.
I think it should be "Hãy đặt" instead of "Hãy bọc"
| #### Những điều cần chú ý {/*caveats*/} | ||
|
|
||
| * Profiling adds some additional overhead, so **it is disabled in the production build by default.** To opt into production profiling, you need to enable a [special production build with profiling enabled.](https://fb.me/react-profiling) | ||
| * Việc đo lường sẽ làm giảm hiệu suất, vì vậy **mặc định nó sẽ luôn được vô hiệu hoá trong bản build production.** Để đo lường ở production, bạn cần kích hoạt [tính năng đo lường trong một bản build production đặc biệt.](https://fb.me/react-profiling) |
There was a problem hiding this comment.
I think "trong phiên bản production" will be better than "trong bản build production"
|
Hi @leduc1901 do you still want to continue working on this PR? Thanks |
This is my translation on "Profiler"
I am writing to request a review of my pull request. I understand that your time is valuable, and I greatly appreciate any feedback you may have. Your review will help me improve the code and ensure that it meets the project's standards