Photon Technologies
Renest Hotels & Resorts Interview Questions and Answers
Q1. HOW CAN WE TRANSFER DATA FROM ONE COMPONENT TO ANOTHER ?
Data can be transferred between components using props, state, context, or Redux.
Props: pass data from parent to child components
State: manage data within a component
Context: share data between components without passing props
Redux: manage global state for the entire application
Examples: passing user data from a login component to a dashboard component using props, managing form data within a component using state, sharing theme data between components using context, managing...read more
Q2. WHAT ARE INLINE ELEMENTS AND BLOCK ELEMENTS IN HTML ?
Inline and block elements are two types of HTML elements with different display properties.
Inline elements are displayed inline with the text and do not start on a new line.
Block elements are displayed as a block and start on a new line, taking up the full width available.
Examples of inline elements include , , and .
Elements can also be styled to display as inline or block using CSS.
Q3. WHAT IS LAZY LOADING ? HOW CAN WE CALL HTTP REQUESTS FROM ONE COMPONENT TO ANOTHER COMPONENT ?
Lazy loading is a technique to defer loading of non-critical resources until they are needed.
Lazy loading improves page load time and performance.
It is commonly used for images, videos, and other media files.
To call HTTP requests from one component to another, we can use Angular's HttpClient service.
We can inject the HttpClient service in the constructor of the component and use its methods to make HTTP requests.
We can also use Angular's @Input and @Output decorators to pass ...read more
Q4. WHAT IS THE DIFFERENCE BETWEEN ANGULAR AND ANGULAR JS ? WHAT ARE THE MODULES IN ANGULAR ?
Angular is a complete rewrite of AngularJS with improved performance and features.
Angular is a TypeScript-based framework while AngularJS is a JavaScript-based framework.
Angular has a more component-based architecture while AngularJS uses a controller-based architecture.
Angular has better performance and improved features like server-side rendering and lazy loading.
Modules in Angular are used to organize code into separate, reusable pieces. Examples include FormsModule for ha...read more
Q5. WHAT IS ROUTING HOW CAN WE USE THAT ? WHAT ARE COMPONENT SERVICES ?
Routing is the process of selecting a path for network traffic. It is used to direct users to different pages in a web application.
Routing is used in web development to navigate between different pages or views in a web application
It involves defining routes and mapping them to specific components or views
Routing can be used to pass parameters and data between different components
Component services are reusable services that can be injected into components to provide function...read more
Q6. WHAT IS SYMANTIC TAG IN HTML?
Semantic tags in HTML are used to describe the content of a web page, making it more accessible and SEO-friendly.
Semantic tags provide meaning to the content of a web page
They are used to structure the content of a web page
Examples of semantic tags include
,
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month