Full Stack / JS
React
28 pytań · 2 zadania z kodem
28 questions
Zadania z kodem
Pytania
- 01What is virtual DOM? How does it actually work?
- 02What are all the hooks that you have used?
- 03What is the purpose of useContext?
- 04How can you write custom hooks?
- 05What is useState and useReducer?
- 06Difference between useMemo and useCallback?
- 07Why do we need hooks in ReactJS?
- 08Difference between class components and functional components?
- 09What are higher order components?
- 10Controlled and uncontrolled components?
- 11What are all the features of ReactJS?
- 12What is state in React?
- 13Difference between props and state?
- 14How can you handle errors?
- 15Performance React
- 16Angular vs React
- 17useEffect
- 18Pure components
- 19Keys
- 20Dlaczego React?
- 21SPA
- 22Zadanie: wyszukiwanie przyciskiem
- 23Zadanie: licznik 0–20
- 24useRef vs useState — dlaczego ref nie renderuje?
- 25Starsza odpowiedź nadpisuje nowszą — jak temu zapobiec?
- 26Unit, integration, E2E — co testować w formularzu?
- 27Co wyrenderuje count && <Badge /> przy count = 0?Test wyboru
- 28Zmiana ref.current a renderowanieTest wyboru