Cheatography
https://cheatography.com
Top React Interview Questions
This is a draft cheat sheet. It is a work in progress and is not finished yet.
1 - 10
1. React and it's benefit |
2. React Node, Element and Component |
3. Jsx and it's work |
4. states and props |
5. purpose of key props |
6. consequence of using array indices as a value for key props |
7. controlled and uncontrolled components |
8. pitfalls about using context |
9. benefits of using react hooks |
10. rules of react hooks |
10 - 20
11. useEffect and useLayoutEffect |
12. purpose of using callback function arguments format of setState |
13. dependency array of useEffect affect |
14. useRef |
15. useCallback |
16. useMemo |
17. useReducer |
18. useId |
19. re-render means |
20. react fragments |
|
|
20 - 30
21. forwardRef |
22. reset the react component state |
23. mutating state |
24. error boundaries |
25. test the react application |
26. react hydration |
27. react portals |
28. debug the react application |
29. react strict mode |
30. localize the react application |
30 - 40
31. code splitting |
32. optimizing the performance of react application |
33. HOCs |
34. flux patterns and it's benefits |
35. one way of data flow |
36. async data loading |
37. ssr and it's benefits |
38. static generation and it's benefits |
39. presentational and container component pattern |
40. some common pitfalls when data fetching |
|
|
40 - 50
41. render props |
42. some react anti-patterns |
43. react state, context and external state managers |
44. composite patterns |
45. virtual dom |
46. how virtual dom works |
47. react fiber |
48. reconcilliation |
49. react suspense |
50. what happens when setState is called |
|