Mindtree React Js and Javascript interview | 🎉 Selected | ReactJs Interview question answers

preview_player
Показать описание
#mindtree #ReactJs #interview #JavaScript

Please don't judge and comments on my answers.
his is just the interview experience and If you know the right answers please comment below which can also help others.

Infosys React Js and Javascript interview
ReactJs Interview question answers
React/redux interview

Рекомендации по теме
Комментарии
Автор

Please don't judge and comments on my answers.
this is just the interview experience and If you know the right answers please comment below which can also help others.

DevAditya
Автор

The question standard is decent. It’s not only about easy questions, interviewers check your depth of knowledge, they may expect you to explain in depth about JavaScript stack, and async non blocking operations how it works, etc.

fevicoI
Автор

- What is lifecycle method in react ?
- How will you convert class based to function based component in react?
- How do you manage state in component?
- Redux middleware ? => Saga and Thunk
- Why do we need middleware in redux implementation? => to capture error log etc.
- Why do we need typescript instead of javascript? =>
- Explain use case with typescript?
- Do you know server side rendering in react?
- How to style a component in react? => used .css and .style component directly
- Have you used any library in react? which one please explain?
- In materialUI what does makeStyle function do?
- Can we use multiple className in same object for materialUI? Ex. in gridUI can we use?
- What is your testing strategy? => we use unit testing (JEST)
- I am creating a application and it should support two language - English & Hindi - so you are developing there application in react - so what will be your approach?
- Have you worked in CMS (Connect Management System)? => Wordpress
- CODE
- Team Member size
- How do you manage project any tool you use? => gitlab
- Are you following any agile method in project
- Do you have any experience in Devops?

anandwadsinge
Автор

2nd question answer will be 1 because after the callback function of the setTimeout come inside the callstack the i nis already declared and initialized so it will print 1

bibhasash
Автор

Thank you so much for sharing this interview... It's really helpful. The interview really good

kudaykumar
Автор

The problem with async await was that you didn't put await before res.json() but kudos to you that you remained calm and changed it to .then() chaining and got it done!

soumyajitdey
Автор

Hi Roshan, These videos really very helpful. Thanks for this initiative 👍👏🙂

kumarswamy
Автор

thank you for sharing your experience of intervew.

pathanaamir
Автор

for question 1:34 it will print 1 because setTimeout function goes into callback and takes 1 second to be executed in that mean time x will be declared in function function x() stack frame and it will be accessible for callback function of setTimeout

galax
Автор

wow...those were actually an easy questions. I am a MERN developer with two years of gap after graduation and yes, 0 working experience or company exposure 😂. I thought company like infosys have tough interviews. Thank you, I think i gained a litttle confidence. Thanks for sharing...

barreddimensions
Автор

Hi bro!,
At 2:00 it will print the value of i since set time out is an asynchronous function it will go to the callback queue but In the meantime i variable will be defined

aniketbisht
Автор


- Understanding the order of execution of asynchronous JavaScript code.
- Implementing recursion to traverse and extract data from nested objects.


- Explaining the three phases of ReactJS lifecycle: mounting, updating, and unmounting.
- Converting class-based components to functional components using useEffect for lifecycle methods.


- Using the useState hook to manage state in functional components.
- Describing how to manage state across multiple components using props drilling and Redux.


- Contrasting Redux and Context API for state management in React.
- Explaining the concepts of actions, reducers, and dispatch in Redux.


- Defining middleware in Redux and its purpose in intercepting actions.
- Mentioning Redux Saga and Redux Thunk as examples of middleware.


- Discussing the benefits of TypeScript for error reduction and type safety in React development.
- Providing an example of using TypeScript interfaces for component parameters.


- Sharing experiences with Next.js for server-side rendering and API handling.
- Highlighting advantages like simplified routing and built-in SSR support.


- Mentioning usage of CSS files, styled-components, Sass, Bootstrap, and Material UI for styling.
- Explaining the role of the makeStyles function in Material UI.


- Describing the use of Jest and Enzyme for unit testing React components.
- Sharing a preference for testing all components and utilizing snapshots.


- Discussing globalizing components using libraries for multi-language support.
- Admitting lack of familiarity but mentioning previous usage in a project.


- Sharing experience developing a React plugin for WordPress.
- Expressing the need to review documentation for data interaction.


- Describing the use of GitLab for task assignment, branch creation, and merge requests.
- Adhering to agile methodologies for project management.


- Inquiring about potential project assignments and technology stacks.
- Asking about the possibility of working on both front-end and back-end tasks.

Mbl
Автор

Prop drilling can be solved using context api and component composition

shilashm
Автор

The menu structure we are using in our app. recursion is what used.

KrishnaDasPC
Автор

Thanks brother, this will help me a lot

Manjunath-vvfg
Автор

Set time out will take time this is not true.. you need to explain how set time out register in Colstack

CloudMadeEasy
Автор

Hey @Dev. Roshan ! Its amazing!!
This is for experienced level, can you give pointers to level of difficulty for react.js questions, if it was for a current final year student with reference to this interview. Your guidance would help me a lot. Thanks!

techie-alien
Автор

Difference between framework and library?
Answer: who calls who!? if we call the external code, then it is library. If our code is called by another code then it is framework. It is the concept of Inversion of control!

shilashm
Автор

Nice video, can I know the package for this
.!

nagarajuguntruttu
Автор

Thanks for sharing.. it is very helpful for me :)

anusuyadevithalavaisamy
welcome to shbcf.ru