https://github.com/mxdvl/mononykus
Svelte and partial hydration with Deno
https://github.com/mxdvl/mononykus
deno svelte
Last synced: about 1 year ago
JSON representation
Svelte and partial hydration with Deno
- Host: GitHub
- URL: https://github.com/mxdvl/mononykus
- Owner: mxdvl
- License: mit
- Created: 2022-10-14T14:35:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T01:28:07.000Z (over 1 year ago)
- Last Synced: 2025-04-23T19:16:09.234Z (about 1 year ago)
- Topics: deno, svelte
- Language: TypeScript
- Homepage: https://mxdvl.github.io/mononykus/
- Size: 359 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SSR + Hydration with Svelte & Deno
This project is an attempt at partial hydration using the Island pattern, using
Svelte and Deno as the underlying technologies.
Head to [mononykus.deno.dev](https://mononykus.deno.dev/) to see it in action.
---
**Warning**
This is a Work-in-progress. If you want a production framework, look at
[SvelteKit](https://kit.svelte.dev) or [Astro](https://astro.build/)
---
## Todo list
- [x] Compile Svelte components
- [x] Partial hydration
- [x] Create a logo
- [x] Serve assets with proper headers (mime, cache-control, etag, …)
- [ ] Add various hydration/foraging strategies
- [ ] Analyse performance (timings, comparison, web vitals, …)
- [x] Continuous deployment
- [x] Continuous integration
- [x] Use `` and a static template
- [ ] Benchmark building hundreds of pages
- [ ] Add motivations section (no partial hydration, SvelteKit & Deno, Snel,
etc.)
- [x] Figure out how to build `Island.svelte` cleanly
- [x] Figure out how to serve `islands.js` cleanly
- [x] Handle nested islands
- [x] Allow imports of `svelte/store`, `svelte/motion`, `svelte/transition`,
`svelte/animate` and `svelte/easing`, but not `svelte/register`.
## About the name Mononykus
[Mononykus](https://en.wikipedia.org/wiki/Mononykus) is a svelte dinosaur of the
late Cretaceous. The show “Prehistoric Planet” has a scene demonstrating the use
of its large, singular claw to forage termite mounds. Mononykus was probably
covered in majestic feathers.