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

Server side render SSR support #177

Open
nmocruz opened this issue Jul 4, 2022 · 0 comments
Open

Server side render SSR support #177

nmocruz opened this issue Jul 4, 2022 · 0 comments

Comments

@nmocruz
Copy link

nmocruz commented Jul 4, 2022

It may out of scope, but wondering if is possible to Knockout have some kind of SSR support like other libraries/frameworks. I saw a discussion on KO repository but it seems a very basic approach to get the html rendered, there's a missing bit of reconciliation of the rendered html on the server and the view model in the browser side.
Not sure what happens if you call applybindings to already rendered view, but I suspect that it will not what we expected. I am not and expert but seems like other libraries are applying the binding on the rendered view and doing a verification if there html matches or not with expected from the bindings and data on the viewmodel.

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