Postlar filtri


Real DOM.png
28.2Kb
3. Once the calculations are completed, the real DOM updated with only those things which are changed.


Virtual DOM and Real DOM.png
46.2Kb
2. Now, the difference between the previous DOM representation and the new DOM is calculated.


Browser to Virtual DOM.png
37.2Kb
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.






In C, if we pass an array as an argument to a function, what actually get passed?
So‘rovnoma
  •   Address of the last element of array
  •   Base address of the array
  •   Value of elements in array
  •   First element of the array
2 ta ovoz


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! 🚀


API Protocols




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 = Hello, {name}!;

🚀 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! 🔥


JOB INTERVIEW CHEAT SHEET


What was the original name of JavaScript when it discovered?
So‘rovnoma
  •   LiveScript
  •   EScript
  •   JScript
  •   Mocha
11 ta ovoz


What does ‘stack underflow’ refer to?
So‘rovnoma
  •   accessing item from an undefined stack
  •   adding items to a full stack
  •   removing items from an empty stack
  •   index out of bounds exception
8 ta ovoz


Python Interview Questions


SC15.png
195.6Kb
SQL EXECUTION ORDER

SQL Doesn’t Run the Way You Think It Does!

Most people assume SQL runs top to bottom—
but in reality, the database follows a completely different process.

Here’s what actually happens when you hit Run:

🔹 FROM & JOIN – First, SQL figures out where to pull the data from.
🔹 WHERE – Then, it filters out rows that don’t match your conditions.
🔹 GROUP BY – If needed, it groups the remaining rows together.
🔹 HAVING – Now, it filters those groups (not individual rows).
🔹 SELECT – Finally, it picks the columns you asked for.
🔹 ORDER BY – It sorts the result.
🔹 LIMIT – At the very end, it restricts the output.

Why does this matter?
⤷ You can’t use column aliases in WHERE
because SELECT runs later.
⤷ Filtering after grouping (HAVING)
is less efficient than filtering before (WHERE).
⤷ Understanding this helps you write faster, better queries.

Most analysts assume SQL reads queries like English.
✅ But databases have their own logic—and mastering it makes
you a 10x better analyst!


image_2025-01-31_16-39-23.png
143.1Kb
Common Data Structure Operations and
Array Sorting Algorithms

It could be useful to have it as a cheat sheet


Web development dan repost
5 Valuable Web Development cheat sheets 👆

17 ta oxirgi post ko‘rsatilgan.