Is the target audience of the platform Russian companies or foreign ones?
Frontend
Why does console.log(4) output at the end instead of console.log(6) in the example?
Why is it better to move the logic of setting a flag in ref/variable inside a handler to useEffect? Explain why the current approach (without useEffect) is bad.
If such a task (list of keys with add and remove capabilities) came to you as a frontend developer, would you accept this API structure or suggest another?
Why are keys needed in a list of elements? What happens if they are not specified?
How is the interaction with the backend structured in your project — agreements on the API, where the request logic is stored (hooks, modules, etc.)?
Why is a separate function/state needed to count used keys — can this be calculated rather than stored separately?
How many frontend developers are in your team?
Tell about the project you are working on and your interaction with it.
How is the interaction with analysts and product managers built when setting tasks?
Success! Export is done! Please test the output file in your desired player/editor before you delete the source file. If output does not look right, see the Help menu. Cutpoints may be inaccurate.
The code uses forwardRef for a button — what is it for and what will happen if it is not used?