Sobes.tech

What are the most dangerous mistakes when working with hooks?

144

Is console.log inside a function a side effect?

144

Do you have experience with React Query or SWR libraries for caching state on the request side?

143

Explain what a pure function is.

141

Explain the lifecycle of a React component. How to handle unmounting with useEffect?

140

How was the release and versioning process carried out?

140

What is the nullish coalescing operator (??) and how does it differ from the regular || operator?

140

Can you explain what callback hell is?

139

What is a pure function? Is console.log inside a function a side effect?

138

How do you feel about managing state with libraries like React Query or SWR?

137

How is state stored in React? What state managers have you worked with?

135

Tell me about TypeScript: if you declare an object User with a field id: number, and the server sends id: string — how can you find out about this in advance?

135

If you declare a function and then a variable after it, will it be accessible inside the function? Tell me about variable hoisting and the temporary dead zone.

134

What is the difference between null and undefined?

131

Explain Feature-Sliced Design (FSD). How did you apply it in a project?

129

How did you monitor code quality? Were linters, commit hooks used?

128

Tell me about Feature Sliced Design (FSD): what is it and how have you applied it in a project?

126
/5