Sobes.tech

Why are CSS Modules needed? Why don't we use regular CSS?

Middle
246

What is reactive programming? Why is React, despite its name, considered non-reactive?

Middle
229

Code review of the Accordion component: identify issues and suggest improvements

Middle
219

Why does setState not update the value immediately? What is batching?

Middle
213

What is useId and what is it used for?

Middle
199

What is CORS? If two backend servers communicate without a browser, will CORS occur?

Middle
169

What is the difference between HTTP and HTTPS? What is encrypted — headers, body, or URL?

Middle
159

Are you familiar with the concept of an 'accordion'? How can this component be implemented without JavaScript?

Middle
150

In a functional React component, there are two synchronous setState calls, then an asynchronous function, then three more setState calls. How many renders will occur in React 18 and React 17? What is batching and when did it appear?

Middle
148

Object is passed from parent component to child via props and is stored in useMemo dependency. How many times will useMemo run? How to optimize so that useMemo recalculates only once?

Middle
145

How to make HTTP requests correctly in React? How is Axios better than fetch?

Middle
144

Code review: you have a piece of production code. Find problems and suggest improvements. Will React.memo perform memoization correctly if functions and objects are passed in props?

Middle
141

What is the difference between SSR and SSG?

Middle
139

There is an array of 10 elements, and .map() is called. What will happen if you remove the return statement from the callback?

Middle
135

What is bad code? How do you try not to write it?

Middle
134

What is useMemo used for? Provide a practical example.

Middle
128

What new hooks appeared in React 18?

Middle
128

Are you familiar with the concept of breadcrumbs? What HTML tags would you use to implement this component?

Middle
127

What is the difference between the array methods map() and forEach()?

Middle
125

Can you use an array index as a key in React? Why is it not recommended?

Middle
121
/2