Skip to content

Commit b639c06

Browse files
authored
fix(typo): Fix typo issues in questions (#8)
Fix 2 typo issues in top-reactjs-interview-questions/questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach @yangshun please review
1 parent aa77805 commit b639c06

File tree

1 file changed

+2
-2
lines changed
  • questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach

1 file changed

+2
-2
lines changed

questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach/en-US.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ React Fiber is a complete rewrite of React's reconciliation algorithm, introduce
1212

1313
### Introduction to React Fiber
1414

15-
React Fiber is a reimplementation of React's core algorithm for rendering and reconciliation. It was introduced in React 16 to address limitations in the previous stack-based algorithm. The primary goal of Fiber is to enable incremental rendering of the virtual DOM, which allows React to split rendering work into chunks and spread it out over multiple frames.
15+
React Fiber is a re-implementation of React's core algorithm for rendering and reconciliation. It was introduced in React 16 to address limitations in the previous stack-based algorithm. The primary goal of Fiber is to enable incremental rendering of the virtual DOM, which allows React to split rendering work into chunks and spread it out over multiple frames.
1616

1717
### Key improvements over the previous approach
1818

1919
#### Incremental rendering
2020

21-
The previous stack-based algorithm processed updates in a single, synchronous pass, which could lead to performance issues, especially with complex UIs. React Fiber breaks down rendering work into smaller units called "fibers," allowing React to pause and resume work. This makes the UI more responsive and prevents blocking the main thread for long periods.
21+
The previous stack-based algorithm processed updates in a single, synchronous pass, which could lead to performance issues, especially with complex UIs. React Fiber breaks down rendering work into smaller units called "fibers", allowing React to pause and resume work. This makes the UI more responsive and prevents blocking the main thread for long periods.
2222

2323
#### Time slicing
2424

0 commit comments

Comments
 (0)