Skip to content

Commit

Permalink
docs(Hooks: useInsertionEffect): Fix misspelling in heading reactjs#2
Browse files Browse the repository at this point in the history
Co-authored-by: Resi Respati <[email protected]>
  • Loading branch information
igihcksn and resir014 authored May 26, 2023
1 parent 263731e commit cdc1055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useInsertionEffect.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function useCSS(rule) {
<DeepDive>
#### Bagaimana ini bisa lebih baik daripada menyisipkan *style* saat *render* atau useLayoutEffect? {/*how-is-this-better-than-injecting-styles-during-rendering-or-uselayouteffect*/}
#### Bagaimana ini bisa lebih baik daripada menyisipkan style saat render atau useLayoutEffect? {/*how-is-this-better-than-injecting-styles-during-rendering-or-uselayouteffect*/}
Jika kamu menambahkan *style* saat rendering dan React sedang memproses [non-blocking update,](/reference/react/useTransition#marking-a-state-update-as-a-non-blocking-transition) peramban akan menghitung ulang *style* setiap *frame* saat me-*render* sebuah pohon (*tree*) komponen, yang dapat **sangat lambat.**
Expand Down

0 comments on commit cdc1055

Please sign in to comment.