https://github.com/nexojs/nexo
Preact apps with Deno
https://github.com/nexojs/nexo
Last synced: 13 days ago
JSON representation
Preact apps with Deno
- Host: GitHub
- URL: https://github.com/nexojs/nexo
- Owner: nexojs
- License: mit
- Created: 2020-05-16T10:38:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-26T20:29:29.000Z (over 5 years ago)
- Last Synced: 2025-10-30T07:45:38.180Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.52 MB
- Stars: 83
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - nexo
README
# 🎒 Nexo
Preact apps with Deno

## Quick start and example
- [Nexo Starter](https://github.com/nexojs/starter)
- `npx degit nexojs/starter`
## Features
- Hot module replace for server modules
- Live reload
- Outputs server errors in browser
- Logs client bundle errors in browser
- [Preact](https://github.com/preactjs/preact) SSR
- [Otion](https://github.com/kripod/otion) SSR
- Auto bundling and hashing of client js assets
## Philosophy
- Only require [Deno](https://github.com/denoland/deno) on the system
- Render as much as possible on the server
- But render dynamic parts only on the client
- Don't reinvent existing browser architecture
- No client side routing
- Neither polyfill's nor babel for stone age browsers like IE-11
- [Oak](https://github.com/oakserver/oak) for http
- Giving freedom how to setup server middleware
- No file system based routing
- [Preact](https://github.com/preactjs/preact) for dom rendering
- [Otion](https://github.com/kripod/otion) for css
## Future ideas
- Live reload scroll position recovery
- Minifying client bundles
- 404 Page template
- Lazy bundling of client js