当然可以那样做,但分离函数组件总是最佳做法。
You could do that, but it's always best to keep your functional components separate.
因此,模板系统必须将表单与函数分离,但还必须在两者之间建立联系。
Hence, a template system must separate form from function, yet also bridge the divide.
因此,模板系统必须将表单与函数分离,但还必须在两者之间建立联系。
Hence, a template system must separate form from function, yet also bridge the divide.
应用推荐