Technical round 1
90 minutes
- Higher order functions
- Pure functions
- Higher order components
- Pure components (functional and class based)
- Shallow comparison vs deep comparison
- Call vs apply vs bind
- Map, reduce, filter
- Polyfill for call method
- WAP using reduce method which takes input a string and returns output an array of objects having count of each continuous character
Example:- "aaabbccaa"
Output :- [{a:3}, {b:2}, {c:2}, {a:2}]
- Type of hooks in react
- Life cycle methods in react
- Use effect hook to mimic life cycle methods
- Use ref hook, uses
- Use effect should run only after first render (we need to use useref hook)
- Prevent component re render unnecessarily
- == Vs ===
- Object equality check
- Nested object equality check
- Dumb component
- Redux three principles
- Writing a reducer
- Redux middleware use and advantages
- How redux identifies which reducer should be called . In depth flow of redux
No response from recruiter afterwards