// === 2 === // implement type type User = any;
Frontend
What array processing methods do you know?
// === 1 === // TODO: implement id function // console.log(id()); // 0; // console.log(id()); // 1; // console.log(id()); // 2; // console.log(id()); // 3; export default function App() { // TODO: implement Table.tsx return <></>; }
Tell me about data types in TypeScript, utility types, the difference between types and interfaces, and inheritance in them.
Implement a search and filter functionality in a React component using useState. - Use useState to create a search state and a roleFilter state. - Bind the search state to an input field's value and update it on change. - Bind the roleFilter state to a select dropdown's value and update it on change. - Style the input field with padding and font size.
// === 1 === // Closure // TODO: implement id function // console.log(id()); // 0; // console.log(id()); // 1; // console.log(id()); // 2; // console.log(id()); // 3; export default function App() { // TODO: implement Table.tsx return <Table />; }