What are the advantages and disadvantages of micro frontends?
Frontend
Tell me about HTTP request methods and their main differences (GET, POST, PUT, DELETE, PATCH, HEAD).
Tell me about NPM: what it is and what it is used for.
What is the difference between React Context and state managers (Redux, MobX)?
Tell about the .npmrc file. Have you worked with it?
Practical task: implement a call to the useMutation function so that 'Hello World' is printed to the console.
If you cached main.js and then uploaded a corrected version with the same name, what will happen and how to fix it?
What is the difference between the array methods forEach and map?
Practical task: write a function that takes a number and returns a Promise with the result of checking for even/odd, and on error (not a number) returns -1.
How to override styles of a third-party UI library if important, ID, and inline styles do not work?
Tell me about React hooks: which ones have you used and for what purposes (useState, useEffect, useRef, useContext, useMemo, useCallback)?
Tell about browser caching and how to configure it. What should be cached and what not?
Practical task: implement an equivalent of the Array.flat() method, but for objects (recursive flattening of nested objects).
Tell me about the levels of specificity (cascade) in CSS.
What is the difference between a controlled and uncontrolled component in React?
Tell me about CSS properties that are better not to animate, and why. Which properties are better to animate?
What is the difference between the array methods filter and forEach?
What is state in React and why is it needed?
Tell about rendering and the lifecycle of components in React.
If the parent component's state changes, will the child components that do not receive props re-render? How can this be prevented?