๐Ÿญ. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ถ๐—ป๐—ณ๐—ถ๐—ป๐—ถ๐˜๐—ฒ ๐˜€๐—ฐ๐—ฟ๐—ผ๐—น๐—น๐—ถ๐—ป๐—ด ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜?

  • Consider the approach for triggering additional data load when the user scrolls near the end of the page or a scrollable element.
  • How would you handle throttling, debouncing, or optimization to prevent excessive requests?
  • Discuss how to manage state for pagination and loading indicators.

๐Ÿฎ. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฎ ๐˜€๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น๐—ถ๐˜๐˜† ๐˜„๐—ถ๐˜๐—ต ๐—น๐—ถ๐˜ƒ๐—ฒ ๐—ณ๐—ถ๐—น๐˜๐—ฒ๐—ฟ๐—ถ๐—ป๐—ด ๐—ถ๐—ป ๐—ฎ ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜ ๐—ฎ๐—ฝ๐—ฝ๐—น๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป?

  • Describe how to optimize the filtering process for large datasets.
  • How would you debounce user input to avoid unnecessary re-renders or API calls?
  • How would you manage the filtered results state and the interaction with an API?

๐Ÿฏ. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ฑ๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฎ๐—ป๐—ฑ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฎ ๐—ณ๐—ผ๐—ฟ๐—บ ๐˜„๐—ถ๐˜๐—ต ๐—ฑ๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ ๐—ณ๐—ถ๐—ฒ๐—น๐—ฑ๐˜€ ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜?

  • How would you manage form validation, error handling, and state for dynamic inputs?
  • Would you use controlled or uncontrolled components for such a form?
    • How would you structure the formโ€™s state for adding/removing dynamic fields?

๐Ÿฐ. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐˜€๐˜๐—ฎ๐˜๐—ฒ ๐—บ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ณ๐—ผ๐—ฟ ๐—ฎ ๐—บ๐˜‚๐—น๐˜๐—ถ-๐˜€๐˜๐—ฒ๐—ฝ ๐—ณ๐—ผ๐—ฟ๐—บ ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜?

  • How would you ensure that data entered in each step of the form is stored properly and can be accessed across steps?
  • How would you manage navigation between steps and handle errors or validation for each step?

๐Ÿฑ. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฎ ๐—ฐ๐˜‚๐˜€๐˜๐—ผ๐—บ ๐˜‚๐˜€๐—ฒ๐—™๐—ฒ๐˜๐—ฐ๐—ต ๐—ต๐—ผ๐—ผ๐—ธ ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜ ๐—ณ๐—ผ๐—ฟ ๐—ต๐—ฎ๐—ป๐—ฑ๐—น๐—ถ๐—ป๐—ด ๐—›๐—ง๐—ง๐—ฃ ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐˜€?

  • Discuss the structure of the hook for handling loading, error, and success states.
  • How would you use useEffect to trigger the API request and manage cleanup?
  • How would you ensure that the hook is reusable across different components?

๐Ÿฒ. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—น๐—ฎ๐˜‡๐˜† ๐—น๐—ผ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด ๐—ผ๐—ณ ๐—ฐ๐—ผ๐—บ๐—ฝ๐—ผ๐—ป๐—ฒ๐—ป๐˜๐˜€ ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜?

  • Explain how to use React.lazy and Suspense for loading components only when required.
  • How would you handle loading indicators or fallback UI during the loading process?
  • How would you manage this for multiple components or routes?

๐Ÿด. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฎ ๐—ฑ๐—ฟ๐—ฎ๐—ด๐—ด๐—ฎ๐—ฏ๐—น๐—ฒ ๐—น๐—ถ๐˜€๐˜ ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜?

  • Explain how to manage the drag-and-drop state and reordering of list items.
  • What would be your approach for handling the drag events, and how would you optimize performance?

๐Ÿต. ๐—›๐—ผ๐˜„ ๐˜„๐—ผ๐˜‚๐—น๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฎ๐˜‚๐˜๐—ต๐—ฒ๐—ป๐˜๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฎ๐—ป๐—ฑ ๐—ฎ๐˜‚๐˜๐—ต๐—ผ๐—ฟ๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐—ฐ๐˜?

  • How would you protect routes that require authentication and redirect users to the login page if theyโ€™re not authenticated?
  • How would you implement token-based authentication (e.g., JWT) and handle token expiry? likeinsightfullove 217