Sobes.tech

Tell about the technology stack of the project. Have you worked with Telegram applications?

Middle
183

Tell about hooks and the lifecycle of components in React.

Middle
169

How does useLayoutEffect differ from useEffect?

Middle
162

The chain immediately becomes rejected, the first .then is skipped. The first .catch catches the error Output: Catch 1: Error1 Returns 'Other value', turning the error into a successful result. The next .then receives 'Other value' Output: Then 2: Other value Then throws a new error: throw new Error('Second error') The chain again becomes rejected. The second .catch catches the second error Output: Catch 2: Second error Returns nothing → result is undefined. The last .then receives undefined Output: Then 3: undefined Greetings! ("Error!") is a promise that immediately rejects with the error "Error!" .then(1) — is skipped because the promise is in rejected state .catch(1) — catches the error, outputs "Catch 1: Error!" and returns "DATA RETURNED" .then(2) — receives "DATA RETURNED", outputs "Ticker ? DATA RETURNED" and throws a new error "Second error" .catch(2) — catches the second error, outputs "Catch 2: Second error" .then(3) — receives undefined (since the previous catch returned nothing), outputs "then 3: undefined"

Middle
156

Look at the code with console.log, setTimeout, and Promise and explain in what sequence what will be output.

Middle
155

Why did you choose Zustand instead of Redux?

Middle
151

How does Promise.any differ from Promise.race?

Middle
149

Why should you use try/catch instead of a .then/.catch chain?

Middle
138

What is the purpose of the key attribute in React lists?

Middle
138

What is used for memoization in React? What will happen if you use useMemo without the second parameter (dependency array)?

Middle
132

What tools and approaches do you use for styling (CSS modules, SCSS, CSS-in-JS, etc.)?

Middle
132

What error handling methods exist in JavaScript?

Middle
123

Is JavaScript single-threaded or multi-threaded? How does asynchronous work?

Middle
116

List the static methods of Promise and explain what a promise is.

Middle
115

Tell me about the Event Loop: what does it consist of and how does it work?

Middle
114

How is task setting and work process organization carried out?

Middle
113

Tell us about your experience with layout. What are the most complex elements you have had to create?

Middle
110

What is React, what is it created for, and what are its main concepts?

Middle
104

What other ways are there to trigger a component re-render besides changing state and props?

Middle
103