i
UBS
Filter interviews by
I applied via Approached by Company and was interviewed in Jan 2023. There were 2 interview rounds.
Explaining the features and usage of ReactJS
Strict mode catches common mistakes and enforces best practices
ForwardRef allows passing refs to child components
Keys help React identify which items have changed, added, or removed
Controlled components are stateful and rely on props to update, while uncontrolled components manage their own state
Accessibility in React involves using ARIA attributes and semantic HTML
ES6 features, shallow and deep cloning, hoisting, JS execution cycle.
ES6 features include arrow functions, template literals, let and const, destructuring, spread and rest operators, etc.
Shallow cloning creates a new object with the same properties as the original object. Deep cloning creates a new object with all nested objects also cloned.
To deep clone nested objects, use a recursive function or a library like lodash...
Hooks can be tested using React Testing Library or Enzyme.
Use React Testing Library's renderHook() method to test hooks
Test the hook's return value and its behavior on re-renders
Use Enzyme's shallow() or mount() methods to test hooks
Mock any external dependencies used in the hook
Test edge cases and error handling
posted on 1 Jun 2024
I have used useState, useEffect, useContext, and useRef hooks in my projects.
useState - for managing state in functional components
useEffect - for handling side effects in functional components
useContext - for accessing context in functional components
useRef - for accessing DOM elements or storing mutable values
Some of the top questions asked at the UBS React Js Software Engineer interview -
based on 1 interview
Interview experience
Associate Director
3.2k
salaries
| ₹14.8 L/yr - ₹52 L/yr |
Assistant Vice President
2.4k
salaries
| ₹16 L/yr - ₹49 L/yr |
Authorized Officer
1.7k
salaries
| ₹9.5 L/yr - ₹29 L/yr |
Exempt NON Officer
1.5k
salaries
| ₹7 L/yr - ₹29.1 L/yr |
ENO
1.3k
salaries
| ₹7 L/yr - ₹25 L/yr |
Morgan Stanley
Goldman Sachs
JPMorgan Chase & Co.
Deutsche Bank