You could do that, but it's always best to keep your functional components separate.
当然可以那样做,但分离函数组件总是最佳做法。
youdao
应用推荐
模块上移
模块下移
不移动