You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 2, 2020. It is now read-only.
本规范主要定义 ssr 特性,组件写法、目录结构以及
f.yml
文件扩展的编写规范。扩展render配置
路由由f.yml的配置文件中,所以在f.yml增加render配置扩展,具体如下。
多组件扩展支持
多组件支持是基于bigpipe的方式,首先写入layout布局,然后处理多个组件的组合逻辑,最终res.end即可。另外,组件上如果只有fetch方法,没有render方法也是没有问题的。写法有2种,具体如下。
component的值是数组,即串行方式
component的值是对象,即并行方式
component支持无限嵌套,可以支持所有场景。
执行过程说明:
The text was updated successfully, but these errors were encountered: