TikTok Interview Question

The basic principle of React JS