TGViewer
Web Development - HTML, CSS & JavaScript Web Development - HTML, CSS & JavaScript @javascript_courses ยท 55.7K subscribers
Post #3385 2.98K
โœ… Frontend Frameworks Interview Q&A โ€“ Part 1 ๐ŸŒ๐Ÿ’ผ

1๏ธโƒฃ What are props in React?
Answer: Props (short for properties) are used to pass data from parent to child components. They are read-only and help make components reusable.

2๏ธโƒฃ What is state in React?
Answer: State is a built-in object used to store dynamic data that affects how the component renders. Unlike props, state can be changed within the component.

3๏ธโƒฃ What are React hooks?
Answer: Hooks like useState, useEffect, and useContext let you use state and lifecycle features in functional components without writing class components.

4๏ธโƒฃ What are directives in Vue.js?
Answer: Directives are special tokens in Vue templates that apply reactive behavior to the DOM. Examples include v-if, v-for, and v-bind.

5๏ธโƒฃ What are computed properties in Vue?
Answer: Computed properties are cached based on their dependencies and only re-evaluate when those dependencies change โ€” great for performance and cleaner templates.

6๏ธโƒฃ What is a component in Angular?
Answer: A component is the basic building block of Angular apps. It includes a template, class, and metadata that define its behavior and appearance.

7๏ธโƒฃ What are services in Angular?
Answer: Services are used to share data and logic across components. Theyโ€™re typically injected using Angularโ€™s dependency injection system.

8๏ธโƒฃ What is conditional rendering?
Answer: Conditional rendering means showing or hiding UI elements based on conditions. In React, you can use ternary operators or logical && to do this.

9๏ธโƒฃ What is the component lifecycle in React?
Answer: Lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount manage side effects and updates in class components. In functional components, use useEffect.

๐Ÿ”Ÿ How do frameworks improve frontend development?
Answer: They offer structure, reusable components, state management, and better performance โ€” making development faster, scalable, and more maintainable.

๐Ÿ’ฌ Double Tap โค๏ธ For More
  • โค 10
More from @javascript_courses
  1. Oct 8, 2026๐ŸŽ“ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ๐˜€! ๐Ÿš€๐Ÿ”ฅ Upgrโ€ฆ
  2. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  3. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  4. Oct 4, 2026DSA Handwritten Notes
  5. Sep 28, 2026To learn web design and development from basic to advanced levels, you can follow these stโ€ฆ
  6. Sep 27, 202610 Websites Every Developer & AI Enthusiast Should Bookmark โœ… roadmap.sh โ€“ Step-by-step leโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’