Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gem] Support prerender #171

Open
mantou132 opened this issue Jun 26, 2024 · 0 comments
Open

[gem] Support prerender #171

mantou132 opened this issue Jun 26, 2024 · 0 comments

Comments

@mantou132
Copy link
Owner

mantou132 commented Jun 26, 2024

默认情况下:定义完所有元素(脚本最先执行),然后执行生命周期函数

但是 <gem-route> 有问题,因为内容是异步加载的,当渲染时,是一个新元素,需要找到以前的内容渲染
“水合”:需要绑定 render 内容到已经存在的内容

另外:#80
dep: #145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant