From a89662115b4a1abc3412e2e0906349e4db4f592a Mon Sep 17 00:00:00 2001 From: Dmytro Lobanov Date: Sat, 31 May 2025 23:03:13 +0100 Subject: [PATCH] fix(typo): Fix typo issues in questions Fix 2 typo issue in top-reactjs-interview-questions/questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach --- .../en-US.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach/en-US.mdx b/questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach/en-US.mdx index 3eb33d4..fcf1a1a 100644 --- a/questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach/en-US.mdx +++ b/questions/what-is-react-fiber-and-how-is-it-an-improvement-over-the-previous-approach/en-US.mdx @@ -12,13 +12,13 @@ React Fiber is a complete rewrite of React's reconciliation algorithm, introduce ### Introduction to React Fiber -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. +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. ### Key improvements over the previous approach #### Incremental rendering -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. +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. #### Time slicing