Skip to content

Working with template on serverside #29

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

Closed
proyb6 opened this issue Nov 28, 2016 · 1 comment
Closed

Working with template on serverside #29

proyb6 opened this issue Nov 28, 2016 · 1 comment

Comments

@proyb6
Copy link

proyb6 commented Nov 28, 2016

If I still using Swift server side, on first load, it will need to show news, update, etc. I have to retrieve from DB and it will pass to server side template for rendering.

For Svelte to work, I would have to compile with Svelte first before porting to server side to add more coding on the home page?

@Rich-Harris
Copy link
Member

Server-side rendering (SSR) and progressive enhancement are on the TODO list – #1. Realistically, you would need a Node backend because Svelte components contain JavaScript – it's unlikely you'd be able to render them in Swift.

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

2 participants