Cracking the Razorpay Frontend Engineer Interview
Razorpay's frontend encompasses highly complex B2B merchant dashboards and the ubiquitous, lightning-fast consumer checkout popup. The Frontend Engineer interview evaluates your mastery of JavaScript/React, web performance, and your ability to write secure, scalable, and highly accessible UI code.
Phase 1: Machine Coding and UI Implementation
This round tests your practical ability to build functional, complex UI components.
- The Challenge: You will be asked to build a component from scratch in 90-120 minutes. Examples include building a "Transaction History" data table with sorting and filtering, a multi-step checkout form with complex validation, or a charting dashboard component.
- The Evaluation: The interviewer will scrutinize your React architecture. Are you managing state efficiently? Are you writing semantic HTML? How robust is your form validation and error handling?
Phase 2: Core JavaScript & React Internals
You must prove you understand the language, not just the framework.
- JS Fundamentals: Expect questions on Closures, Hoisting, the Event Loop, and Promises. "Implement a custom
Promise.all()or a deep clone function." - React Architecture: "Explain the Virtual DOM and the reconciliation process." "How do you handle complex global state (like merchant session data) without prop drilling?" (Expect deep discussions on Redux, Context API, or Zustand).
- Fintech Security: "How do you securely handle sensitive user input (like CVV) before sending it to the server?" "Explain how you would sanitize user input to prevent an XSS attack on a merchant dashboard."
Phase 3: Web Performance and System Design
Razorpay's checkout must load instantly on all websites.
- Performance: "How do you optimize a React application that is suffering from slow rendering when displaying thousands of transactions?" You must understand
React.memo,useCallback, Code Splitting, and virtual scrolling. - Frontend System Design: "Design the frontend architecture for the Razorpay Merchant Dashboard." You must discuss routing, handling network failures (retry mechanisms), optimistic UI updates, and building a reusable component library.
Top 3 Technical Questions to Prepare
- Implement a robust debounced search bar in React that queries an API for transaction IDs and handles race conditions.
- How would you design a scalable frontend architecture to handle a massive data table (10,000+ rows) implementing infinite scrolling and complex client-side filtering?
- How do you ensure a complex payment checkout form is fully accessible (a11y), screen-reader friendly, and keyboard navigable?



