TGViewer
Channel Public Channel
Coding Interview Preparation

Coding Interview Preparation

@coding_interview_preparation

Coding interview preparation for software engineers

Interview questions, DSA, clean solutions.
Join ๐Ÿ‘‰ https://rebrand.ly/bigdatachannels

Buy ads: https://telega.io/c/coding_interview_preparation

DMCA: @disclosure_bds
Contact: @mldatascientist
Subscribers
5.89K
Photos
490
Videos
2
Links
174

Showing posts older than #939 ยท Back to latest

Older Posts 15 shown
Post #937 1.47K
Real DOM.png28.2 KB
3. Once the calculations are completed, the real DOM updated with only those things which are changed.
  • ๐Ÿ‘ 2
Post #935 1.29K
Browser to Virtual DOM.png37.2 KB
Virtual DOM works in three steps:

1. Whenever any data changes in the React App, the entire UI is re-rendered in Virtual DOM representation.
  • ๐Ÿ‘ 2
Post #934 1.15K
  • โค 3
Post #931 1.33K
What do you understand by Virtual DOM?

Think of the Virtual DOM like a draft version of your web page. Instead of changing the actual page (which is slow), React updates this lightweight copy first. Then, it smartly compares the draft with the real page and updates only the necessary parts kind of like editing a document without retyping the whole thing.

Result? Faster updates, smoother performance, and a better user experience! ๐Ÿš€
  • ๐Ÿ‘ 2
Post #930 8.25K
API Protocols
  • ๐Ÿ‘ 3
Post #928 1.23K
What is JSX?

JSX (JavaScript XML) is a special syntax in React that lets you write HTML-like code inside JavaScript. It makes your code more readable and intuitive because you can describe the UI directly in your JavaScript code.

Why is JSX useful?

โœ… Easier to write & read โ€“ Looks like HTML but works inside JavaScript.
โœ… More powerful than HTML โ€“ You can use variables, functions, and logic directly inside JSX.
โœ… Optimized by React โ€“ JSX gets converted into super-efficient JavaScript calls behind the scenes.
Example of JSX in action:

const name = "Borislav";  
const element = <h1>Hello, {name}!</h1>;


๐Ÿš€ Here, {name} is a JavaScript variable inside JSX!

JSX is not HTML โ€“ it's just syntactic sugar for React.createElement(). You must wrap elements properly (e.g., use one parent tag).

Want to build awesome React apps? JSX is the way to go! ๐Ÿ”ฅ
  • ๐Ÿ‘ 1
Post #927 1.13K
JOB INTERVIEW CHEAT SHEET
  • ๐Ÿ‘ 2
  • ๐Ÿ”ฅ 1
Post #926 1.1K
  • โค 1
Post #915 1.29K
Python Interview Questions
  • ๐Ÿ‘ 3
  • โค 1
Older posts โ†’
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 โ†’