Start the project:
deno task start
This will watch the project directory and restart as necessary.
magic show
- file-system router (pages/folder/path/[id])
- React ~= Preact
- coding in tsx
| | Fresh | Next.is |
| async-lo | tokio (moderm rust
) | libuv (old-school C++
) |
| code base | - 5k loc | - 400k loc |
| serverless | deno deploy | vercel |
| build | JIT build: build on the fly (esbuild powered) | AOT build: webpack (swc powered) |
| hydration | node by node | on root |
- new-school:
tokio
which poweredlinkerd
tidb' etc, already support
iouring` - old-school: old codebase, async-fs in multi-thread: UV_THREADPQOL_SIZE
- nextis:
*.js
: static*.html
:- with getServerSideProps : render ToString instantly
- without "getServerSideProps" : pre-rendered static
*.json
: just getServerSideProps" and return props json
- fresh:
*.html
: renderToString instantly*.js
: [#bundler.get (/src/server/context.ts) instantly