Friday, December 27, 2024

react links 10

 

  1. https://bigfrontend.dev/react 

  2. I collected all of the links in this post and wrote down bullet points for what I saw was repeatedly mentioned in the comments.

  3. I read every single page in the "Learn" section of the new React docs. This took two days as I was typing notes as I went along.

  4. Went through some practice problems and built a couple of user interfaces.I have yet to hear back about whether I'm being moved on to the next round but I thought I did pretty well. I was able to answer all of the questions I was asked about React and the coding portion was not difficult at all

In summary:

READ THE UPDATED REACT DOCUMENTATION (https://www.react.dev). It is very well written and the examples are great. I would not have been able to answer the majority of the questions in my interview if I had not read the docs. I'm not exaggerating even a little bit.In my opinion, if you're going for a mid level role, they're probably not going to ask you what state or props are, or what "lifting state up" means. Those are beginner questions that someone who has even 1 year of experience should already know.

  1. I would focus on knowing the major React Hooks. This was brought up repeatedly in the comments and the majority of my questions were based on Hooks.

- useState, useEffect, useRef, useReducer, useMemo, useCallback, useContext at the very minimum.

- When to use them, when not to use them.

- What does the second optional argument for useEffect do?

- What's the difference between useState and useRef?

- When would you use useState compared to useReducer?- What's the difference between useMemo and useCallback?

2. Custom Hooks - why you need them and how to write them.

- Examples: https://usehooks.com/

3. What can you do to improve the performance of your React application?- Know what the virtual DOM is and how React works in general- Memoization, lazy loading, dynamic imports, etc- Read this article

4. Something that the React docs mentioned over and over and that really stuck with me and changed my perspective on State and Hooks overall: learn when it's appropriate to use a Hook (useEffect in particular) and when to use an event handler.

Links I gathered from the comments (shout out to u/phiger78 for providing the majority of these):

- TypeScript tutorial - https://www.totaltypescript.com/tutorials

- Why booleans can be bad - https://kyleshevlin.com/enumerate-dont-booleanate

- React architecture - https://profy.dev/article/react-architecture-api-layer

- Using explicit States - https://www.youtube.com/watch?v=ul_3ABrpj64

- Frontend/React questions - https://greatfrontend.com/questions/react

- 100+ React questions - https://github.com/sudheerj/reactjs-interview-questions (some of these questions/answers haven't been updated for functional components so just be aware of that)



--------------


https://overreacted.io/a-complete-guide-to-useeffect/

Use this interview kit https://www.developerupdates.com/shop/front-end-developer-job-interview-kit

It covers most asked interview questions.







No comments:

Post a Comment