form中使用component的实现 <c-form-cellv-for="cell of cellList":key="cell.field":field="cell.field"><component:is="`${TYPE_PRE}${cell.type}`":field="cell.field":attrs="cell.attrs":extra="cell.extra":validate="cell.validate":cells="cell.cells"></component></c-form-cell> AI代码...
我想到了一个方法,使用流将接口的阻塞传播到 client 端,但这需要某种边界(比如 Suspense)我不想在 asta 中支持 Suspense,那么问题来了,有没有一种原生的 html 标签可以保持类似的边界语义?答案是有的,那就是 web-component 和 fragments,是的你没有看错,asta 下一个版本会将 web-component 作为边界,流式传输...