Have you cached requests for offline operation?
Frontend
Have you encountered Cache API?
What are generics in TypeScript?
What browser storage options exist?
What are the ways to copy an object in JavaScript?
Which React hooks do you use most often?
What is the difference between useMemo and useCallback?
How is cross-browser support for CSS ensured?
What CSS architectures do you know and which one do you prefer?
What is the difference between interface and type in TypeScript?
React from "react"; You need to create a React component that displays a tree structure like ampleFiles = [ { id: 1, name: 'src', children: [ { id: 2, name: 'components', children: [ { id: 3, name: 'Button.tsx', children: [] } ] }, { id: 4, name: 'index.ts', children: [] } ] }, { id: 5, name: 'README.md', children: [] } ] letStructure = () => { // use structure rendering return ( <div> {/* Render the tree */} </div> ) } export default FileStructure;
What are the ways to declare variables in JavaScript and what is the difference?
What vulnerabilities do you know and how do you deal with them?
Have you had experience with CSS-in-JS or styled-components?
What is list virtualization, why is it needed, and how is it implemented?
How is working with asynchronous code organized in JavaScript?
Tell me about SCSS mixins for media queries.
Tell about your work experience.
How to protect against XSS?
Did you configure security headers on the server?