Explain how to design React components?
Step 1: use a method component
Step 2: define the required hooks which are needed for the component
Step 3: define the logic
Step 4: style the component as per the need

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?