Upload Button Icon Add office photos

Filter interviews by

Hard Coded Senior React JS Developer Interview Questions and Answers

Updated 12 Jul 2024

6 Interview questions

A Senior React JS Developer was asked 11mo ago
Q. What is the singleton pattern? Where and how have you used it?
Ans. 

Singleton pattern ensures a class has only one instance and provides a global point of access to it.

  • Used to control access to a shared resource such as a database connection or a logger instance

  • Implemented by creating a class with a method that creates a new instance only if one doesn't exist, and returns the existing instance if it does

  • Commonly used in React applications for managing global state with Redux or Co...

A Senior React JS Developer was asked 11mo ago
Q. What is flexbox used for?
Ans. 

Flexbox is a layout model in CSS used for creating flexible and responsive layouts.

  • Flexbox allows for easy alignment and distribution of items within a container.

  • It provides a more efficient way to design complex layouts compared to traditional CSS methods.

  • Flexbox properties include justify-content, align-items, flex-direction, and flex-wrap.

Senior React JS Developer Interview Questions Asked at Other Companies

asked in Hard Coded
Q1. Describe the strategy pattern based on a real-time use case, incl ... read more
asked in Hard Coded
Q2. What is the singleton pattern? Where and how have you used it?
asked in Hard Coded
Q3. What are the benefits of using SCSS?
asked in Hard Coded
Q4. What is virtual dom. In reactjs.
asked in BR Softech
Q5. What are the differences between class components and functional ... read more
A Senior React JS Developer was asked 11mo ago
Q. What are the benefits of using SCSS?
Ans. 

SCSS provides benefits such as variables, nesting, mixins, and inheritance for more efficient and maintainable CSS code.

  • Variables allow for easy reuse of values throughout stylesheets.

  • Nesting helps to organize CSS rules in a more intuitive way.

  • Mixins enable the reuse of styles across different elements.

  • Inheritance allows styles to be inherited from one selector to another.

  • SCSS can help improve code readability and...

A Senior React JS Developer was asked 11mo ago
Q. What is dependency injection?
Ans. 

Dependency injection is a design pattern where components are provided with their dependencies rather than creating them internally.

  • Dependency injection helps in making components more modular and easier to test.

  • It allows for better separation of concerns by decoupling the creation of dependencies from their usage.

  • There are different types of dependency injection such as constructor injection, setter injection, an...

A Senior React JS Developer was asked 11mo ago
Q. Describe the strategy pattern based on a real-time use case, including where and how you have used it.
Ans. 

Strategy pattern is a behavioral design pattern that allows selecting an algorithm at runtime.

  • Used strategy pattern in a shopping cart application to dynamically apply different discount strategies based on user type (e.g. regular customer, premium customer)

  • Implemented strategy pattern in a payment processing system to handle different payment methods (e.g. credit card, PayPal, Apple Pay)

  • Utilized strategy pattern ...

A Senior React JS Developer was asked 11mo ago
Q. What is virtual dom. In reactjs.
Ans. 

Virtual DOM is a lightweight copy of the actual DOM in React, used for efficient updates.

  • Virtual DOM is a concept where a lightweight copy of the actual DOM is created in memory.

  • React uses the virtual DOM to efficiently update the actual DOM when there are changes in the application state.

  • By comparing the virtual DOM with the actual DOM, React determines the minimal number of changes needed to update the UI.

  • This h...

Hard Coded Senior React JS Developer Interview Experiences

1 interview found

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Job Portal and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. What is strategy pattern based on real time usecase, where and how have you used it.
  • Ans. 

    Strategy pattern is a behavioral design pattern that allows selecting an algorithm at runtime.

    • Used strategy pattern in a shopping cart application to dynamically apply different discount strategies based on user type (e.g. regular customer, premium customer)

    • Implemented strategy pattern in a payment processing system to handle different payment methods (e.g. credit card, PayPal, Apple Pay)

    • Utilized strategy pattern in a ...

  • Answered by AI
  • Q2. What is dependency injection.
  • Ans. 

    Dependency injection is a design pattern where components are provided with their dependencies rather than creating them internally.

    • Dependency injection helps in making components more modular and easier to test.

    • It allows for better separation of concerns by decoupling the creation of dependencies from their usage.

    • There are different types of dependency injection such as constructor injection, setter injection, and int...

  • Answered by AI
  • Q3. What is singleton pattern. Where and how have you used it.
  • Ans. 

    Singleton pattern ensures a class has only one instance and provides a global point of access to it.

    • Used to control access to a shared resource such as a database connection or a logger instance

    • Implemented by creating a class with a method that creates a new instance only if one doesn't exist, and returns the existing instance if it does

    • Commonly used in React applications for managing global state with Redux or Context...

  • Answered by AI
  • Q4. What is virtual dom. In reactjs.
  • Ans. 

    Virtual DOM is a lightweight copy of the actual DOM in React, used for efficient updates.

    • Virtual DOM is a concept where a lightweight copy of the actual DOM is created in memory.

    • React uses the virtual DOM to efficiently update the actual DOM when there are changes in the application state.

    • By comparing the virtual DOM with the actual DOM, React determines the minimal number of changes needed to update the UI.

    • This helps ...

  • Answered by AI
  • Q5. What are benefits of using scss.
  • Ans. 

    SCSS provides benefits such as variables, nesting, mixins, and inheritance for more efficient and maintainable CSS code.

    • Variables allow for easy reuse of values throughout stylesheets.

    • Nesting helps to organize CSS rules in a more intuitive way.

    • Mixins enable the reuse of styles across different elements.

    • Inheritance allows styles to be inherited from one selector to another.

    • SCSS can help improve code readability and main...

  • Answered by AI
  • Q6. What is flexbox used for.
  • Ans. 

    Flexbox is a layout model in CSS used for creating flexible and responsive layouts.

    • Flexbox allows for easy alignment and distribution of items within a container.

    • It provides a more efficient way to design complex layouts compared to traditional CSS methods.

    • Flexbox properties include justify-content, align-items, flex-direction, and flex-wrap.

  • Answered by AI

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Hard Coded?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Campus Placement and was interviewed before May 2021. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

VERBAL QUANT DI/LR and Picture based test

Round 3 - Technical 

(1 Question)

  • Q1. Write a fibonaci series in c++ or C?
  • Ans. 

    Fibonacci series can be easily implemented using loops in C++ or C.

    • Declare variables for first two numbers of the series

    • Use a loop to calculate and print the next number in the series

    • Repeat the loop until desired number of terms are printed

  • Answered by AI
Round 4 - HR 

(1 Question)

  • Q1. Informed about the policies and made us sign a document

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be calm and composed while answering the questions.

Skills evaluated in this interview

Senior React JS Developer Interview Questions Asked at Other Companies

asked in Hard Coded
Q1. Describe the strategy pattern based on a real-time use case, incl ... read more
asked in Hard Coded
Q2. What is the singleton pattern? Where and how have you used it?
asked in Hard Coded
Q3. What are the benefits of using SCSS?
asked in Hard Coded
Q4. What is virtual dom. In reactjs.
asked in BR Softech
Q5. What are the differences between class components and functional ... read more

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

Round duration - 90 minutes
Round difficulty - Easy

This round was held during university hours and consisted of 2 coding questions.

Round 2 - Face to Face 

(1 Question)

Round duration - 120 minutes
Round difficulty - Easy

Make sure you do no cutting and are clear about the approach you'd be following. 
 

  • Q1. What is the running median of an input stream?
  • Ans. 

    Running median of an input stream is the median value of the numbers seen so far in a continuous stream of data.

    • Maintain two heaps - a max heap for the lower half of the numbers and a min heap for the upper half.

    • Keep the number of elements in the two heaps balanced or differ by at most 1.

    • If the total number of elements is odd, the median is the root of the max heap. If even, it is the average of the roots of the two he...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Electronics & Communication Engineering from TIET - Thapar Institute of Engineering And Technology. I applied for the job as SDE - 1 in HyderabadEligibility criteria 7 CGPA Amazon interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Java, Object-Oriented Programming System, System Design, Operating System.Time required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.

Application resume tips for other job seekers

Be sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Tell me about software system

I applied via Referral and was interviewed before Jan 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. What is abstract class, what is list, SQL,ADO.net
  • Ans. 

    Abstract class is a class that cannot be instantiated, List is a collection of objects, SQL is a language used to manage databases, ADO.net is a framework for accessing databases.

    • Abstract class is used as a base class for other classes

    • List is a generic collection of objects

    • SQL is used to create, modify, and query databases

    • ADO.net provides a set of classes for accessing databases

    • Example: abstract class Animal { public a...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The interviewer wanted to test both my knowledge and communication skills. most of asked to me Dot net quetions.

Skills evaluated in this interview

I applied via Company Website and was interviewed before Jan 2021. There were 5 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Tell me about yourself?
  • Q2. Normalization concept,Java basics inheritance overloading, encapsulation ,update table ,related to projects in final year
  • Q3. Situation based questions based on project

Interview Preparation Tips

Interview preparation tips for other job seekers - Be calm and confident and be genuine whatever you explain that should be very specific to question and if u are feeling narvous then put a gentle smile on your face,if you don't know about question ask then try little bit and say sir I will read about this.
All the Best😊😊

I applied via Naukri.com and was interviewed in Jul 2020. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Tell me about yourself?
  • Ans. 

    I'm a passionate software developer with 5 years of experience in building scalable web applications and a strong focus on user experience.

    • Experience in full-stack development using technologies like React, Node.js, and MongoDB.

    • Led a team project that improved application performance by 30% through code optimization.

    • Strong background in Agile methodologies, having participated in multiple sprints and retrospectives.

    • Dev...

  • Answered by AI
  • Q2. What are your Strengths?
  • Ans. 

    I excel in problem-solving, collaboration, and adaptability, which enhance my effectiveness as a software developer.

    • Strong problem-solving skills: I enjoy tackling complex coding challenges, like optimizing algorithms for better performance.

    • Effective collaboration: I have successfully worked in Agile teams, contributing to projects like a web application that improved user engagement.

    • Adaptability: I quickly learn new t...

  • Answered by AI
  • Q3. What are your Weakness?
  • Ans. 

    I tend to be overly critical of my work, which can slow down my progress and affect my confidence in delivering projects.

    • I often spend too much time refining code, which can delay project timelines. For example, I once spent an extra week on a feature.

    • I sometimes struggle with delegation, preferring to handle tasks myself to ensure quality. This was evident in a group project where I took on too much.

    • I can be hesitant ...

  • Answered by AI
  • Q4. What are your salary expectations?
  • Ans. 

    I am looking for a competitive salary that reflects my skills and experience in software development.

    • Based on my research, the average salary for a software developer in this region is between $80,000 and $100,000.

    • I have over 5 years of experience in full-stack development, which I believe warrants a salary towards the higher end of that range.

    • I am open to discussing the entire compensation package, including benefits ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do your Homework?
Practice
Provide evidence &Data
Are these interview questions helpful?

I applied via Referral and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Java, program logic, software engineering

Interview Preparation Tips

Topics to prepare for Infosys Software Developer interview:
  • Java
Interview preparation tips for other job seekers - Be sharp and alert, focus on topics that you know. Work your way up

I applied via Recruitment Consulltant and was interviewed before Aug 2021. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Java. Spring boot, micro service, hibernate
Round 2 - HR 

(1 Question)

  • Q1. Salary, technical, company details

Interview Preparation Tips

Topics to prepare for Accenture Software Developer interview:
  • Java
  • Spring Boot
  • Micro service
  • Hibernate
  • JSP
Interview preparation tips for other job seekers - Java, spring boot, micro service, hibernate

I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. .NET basics

Hard Coded Interview FAQs

How many rounds are there in Hard Coded Senior React JS Developer interview?
Hard Coded interview process usually has 1 rounds. The most common rounds in the Hard Coded interview process are Technical.
What are the top questions asked in Hard Coded Senior React JS Developer interview?

Some of the top questions asked at the Hard Coded Senior React JS Developer interview -

  1. What is singleton pattern. Where and how have you used ...read more
  2. What is strategy pattern based on real time usecase, where and how have you use...read more
  3. What are benefits of using sc...read more

Tell us how to improve this page.

Overall Interview Experience Rating

5/5

based on 1 interview experience

Difficulty level

Hard 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.7
 • 8.7k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Amazon Interview Questions
4.0
 • 5.4k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.7
 • 3.4k Interviews
View all
Compare Hard Coded with

TCS

3.6
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
write
Share an Interview