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

WIP: switch to sveltekit #2

Closed
wants to merge 1 commit into from
Closed

WIP: switch to sveltekit #2

wants to merge 1 commit into from

Conversation

eight04
Copy link
Owner

@eight04 eight04 commented Feb 25, 2022

I tried to use Sveltekit to generate static site (Github page). The major flaw is that you can't reuse the state from SSR, result in duplicated code in SSR result and the client side bundle.

You can see that we have a 6Mb ikcco-6-lines.html and 6Mb ikcco-6-lines.svelte.md-a040b1bf.js which is not very good.

Ref:
sveltejs/kit#1390
sveltejs/svelte#2374
sveltejs/svelte#780
sveltejs/svelte#7226
sveltejs/svelte#4006

Maybe we should try switching to Elder.js:
https://github.com/Elderjs/elderjs

Switch to fumen

WIP: switch to svelte

WIP: switch to svelte

WIP

WIP finalizing

WIP: u cant import ts file wtf
@eight04 eight04 closed this Feb 26, 2022
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

Successfully merging this pull request may close these issues.

1 participant