Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 8cb2a45

Browse files
author
X
authored
Update README.md
1 parent 7f3376e commit 8cb2a45

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ The React Framework in [Deno](https://deno.land), inspired by [Next.js](https://
1010
[![nest badge](https://nest.land/badge.svg)](https://nest.land/package/aleph)
1111
[![Twitter Follow](https://img.shields.io/twitter/follow/alephjs?style=social)](https://twitter.com/intent/follow?screen_name=alephjs)
1212

13+
Different with Next.js, Aleph.js don't need **webpack** or other bundler since Aleph.js use the **ESM** imports syntax. Every module only needs to be compiled once and then cached on the disk. When a module changes, Aleph.js just recompile that single module, there's no time wasted re-bundling every changes, and instant updates in the browser by **HMR** (Hot Module Replacement) with **React Fast Refresh**.
14+
15+
Aleph.js works in **Deno**, a *simple*, *modern* and *secure* runtime for JavaScript and TypeScript. No `package.json` and `node_modules` directory needed, all dependencies are imported as URL and managed by Aleph.js:
16+
17+
```jsx
18+
import React from "https://esm.sh/react"
19+
import Logo from "../components/logo.tsx"
20+
21+
export default function Page() {
22+
return (
23+
<div>
24+
<Logo />
25+
<h1>Hello World!</h1>
26+
</div>
27+
)
28+
}
29+
```
30+
1331
### Features
1432
- Zero Config
1533
- Typescript in Deno

0 commit comments

Comments
 (0)