Sobes.tech

On the page resize event, we want to send analytics. If we just attach a handler to resize, it will be called hundreds of times per second. How can this be avoided?

147

Can you tell me about the differences between HTTP versions 1, 2, and 3?

146

Can we retrieve data using a DELETE request or send data using a GET request?

143

There is another rendering stage in the overall process — can you recall which one? Why is layer separation (composition) needed?

141

During HTML parsing, if scripts are placed at the top of the page, do they block the further loading of the page or not?

140

It turns out that the work with these effects was allocated to a separate library?

138

Does it make sense to use useMemo or useCallback for a function that returns JSX?

137

Will the page be interactive during this infinite recursion?

136

Live coding: you have an example code using Event Loop (synchronous functions, async/await, Promise, setTimeout). You need to arrange the order of console.log execution — what will run first, second, third, etc.

135

[name] asked: How ready are you to do page layout and UI element creation about 75% of your working time?

135

The useEffect has a cleanup function and a dependency array with parameters a, b, c. When will the cleanup function execute?

133

Have there been issues with different libraries around React in different companies' projects?

132

If styles are linked via a separate link instead of scripts, do they block rendering?

128

Is the OPTIONS request sent in every cross-domain request or only when necessary? What is the difference between simple and complex requests in this context?

128

[name] asked: Was design review included in the release process? How did it go?

127

Tell me what static methods exist for working with promises. Explain what Promise.any and Promise.all do.

125

[name] asked: Can you tell me about the stack you worked on? Specifically, tell me more about Next.js.

124

Live coding: implement a function $ (similar to jQuery), which takes a valid CSS selector and finds nodes accordingly. The function should return an object with methods addClass, toggleClass, removeClass, css (apply styles), html (insert HTML/CSS inside the element) — with chaining capability. The provided test code with chaining should not be changed and must work after implementing the function.

123

What sources of microtasks and macrotasks do you know?

109

How does debounce differ from throttle?

107
/4