essor 0.0.14 â 0.0.15-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +134 -0
- package/dist/chunk-PAGG5IFG.esm.js +3899 -0
- package/dist/chunk-PAGG5IFG.esm.js.map +1 -0
- package/dist/chunk-WYYLUPU7.dev.esm.js +19 -0
- package/dist/chunk-WYYLUPU7.dev.esm.js.map +1 -0
- package/dist/essor-client.cjs.js +3916 -0
- package/dist/essor-client.cjs.js.map +1 -0
- package/dist/essor-client.d.cts +7 -0
- package/dist/essor-client.d.ts +7 -0
- package/dist/essor-client.dev.cjs.js +19 -0
- package/dist/essor-client.dev.cjs.js.map +1 -0
- package/dist/essor-client.dev.esm.js +8 -0
- package/dist/essor-client.dev.esm.js.map +1 -0
- package/dist/essor-client.esm.js +16 -0
- package/dist/essor-client.esm.js.map +1 -0
- package/dist/essor-server.cjs.js +305 -0
- package/dist/essor-server.cjs.js.map +1 -0
- package/dist/essor-server.d.cts +4 -0
- package/dist/essor-server.d.ts +4 -0
- package/dist/essor-server.dev.cjs.js +9 -0
- package/dist/essor-server.dev.cjs.js.map +1 -0
- package/dist/essor-server.dev.esm.js +8 -0
- package/dist/essor-server.dev.esm.js.map +1 -0
- package/dist/essor-server.esm.js +81 -0
- package/dist/essor-server.esm.js.map +1 -0
- package/jsx-runtime.d.ts +3 -0
- package/package.json +35 -23
- package/types/jsx.d.ts +4239 -0
- package/dist/essor.cjs.js +0 -17
- package/dist/essor.cjs.js.map +0 -1
- package/dist/essor.d.cts +0 -6
- package/dist/essor.d.ts +0 -6
- package/dist/essor.dev.cjs.js +0 -1869
- package/dist/essor.dev.esm.js +0 -1838
- package/dist/essor.esm.js +0 -17
- package/dist/essor.esm.js.map +0 -1
package/README.md
CHANGED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Essor - Next Generation Frontend Framework
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
**đ It's just JavaScript - Instant start, ultimate performance, no complex concepts**
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/essor)
|
|
10
|
+
[](https://www.npmjs.com/package/essor)
|
|
11
|
+
[](https://github.com/estjs/essor/blob/main/LICENSE)
|
|
12
|
+
[](https://github.com/estjs/essor/issues)
|
|
13
|
+

|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
English | [įŽäŊ䏿](./README_CN.md)
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
## ⨠Features
|
|
21
|
+
|
|
22
|
+
- đ **Ultimate Performance** - Signal-based reactive system, no virtual DOM
|
|
23
|
+
- đ¯ **Zero Config** - Works out of the box, no complex configuration
|
|
24
|
+
- đ§ **TypeScript** - Full TypeScript support
|
|
25
|
+
- đ¨ **JSX Support** - Familiar JSX syntax, easy to learn
|
|
26
|
+
- đĻ **Modular** - Tree-shakable, tiny bundle size
|
|
27
|
+
- đ **SSR/SSG** - Server-side rendering and static site generation support
|
|
28
|
+
- đ **HMR** - Hot module replacement, excellent development experience
|
|
29
|
+
- đ ī¸ **Toolchain** - Complete build toolchain support
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## đ Quick Start
|
|
33
|
+
|
|
34
|
+
### 1. Create Project
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Using create-essor
|
|
38
|
+
npm create essor@latest my-app
|
|
39
|
+
|
|
40
|
+
# Or install manually
|
|
41
|
+
npm install essor
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### 2. Write Component
|
|
45
|
+
|
|
46
|
+
```jsx
|
|
47
|
+
import { signal } from 'essor';
|
|
48
|
+
|
|
49
|
+
function Counter() {
|
|
50
|
+
const count = signal(0);
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<div>
|
|
54
|
+
<h1>Count: {count}</h1>
|
|
55
|
+
<button onClick={() => count.value++}>
|
|
56
|
+
Increment
|
|
57
|
+
</button>
|
|
58
|
+
</div>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 3. Start Development Server
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npm run dev
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## đ Documentation
|
|
70
|
+
|
|
71
|
+
- [Documentation](https://essor.netlify.app/)
|
|
72
|
+
- [API Reference](https://essor.netlify.app/api)
|
|
73
|
+
- [Examples](./examples)
|
|
74
|
+
- [Online Playground](https://essor-playground.netlify.app/)
|
|
75
|
+
|
|
76
|
+
## đ¯ Examples
|
|
77
|
+
|
|
78
|
+
Check out the [examples](./examples) directory for more examples:
|
|
79
|
+
|
|
80
|
+
- [Basic Example](./examples/basic) - Getting started
|
|
81
|
+
- [Todo App](./examples/todo) - Complete application
|
|
82
|
+
- [SSR Example](./examples/ssr) - Server-side rendering
|
|
83
|
+
- [SSG Example](./examples/ssg) - Static site generation
|
|
84
|
+
- [Suspense Example](./examples/suspense) - Async components
|
|
85
|
+
- [Portal Example](./examples/portal) - Portal components
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## đ¤ Contributing
|
|
89
|
+
|
|
90
|
+
We welcome all forms of contributions!
|
|
91
|
+
|
|
92
|
+
- đ [Report Bugs](https://github.com/estjs/essor/issues)
|
|
93
|
+
- đĄ [Suggest Features](https://github.com/estjs/essor/discussions)
|
|
94
|
+
- đ [Submit PRs](https://github.com/estjs/essor/pulls)
|
|
95
|
+
- đ [Improve Documentation](https://github.com/estjs/essor/tree/main/docs)
|
|
96
|
+
|
|
97
|
+
### Development Setup
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# Clone repository
|
|
101
|
+
git clone https://github.com/estjs/essor.git
|
|
102
|
+
cd essor
|
|
103
|
+
|
|
104
|
+
# Install dependencies
|
|
105
|
+
pnpm install
|
|
106
|
+
|
|
107
|
+
# Start development mode
|
|
108
|
+
pnpm dev
|
|
109
|
+
|
|
110
|
+
# Run tests
|
|
111
|
+
pnpm test
|
|
112
|
+
|
|
113
|
+
# Build project
|
|
114
|
+
pnpm build
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## đ License
|
|
118
|
+
|
|
119
|
+
[MIT License](./LICENSE)
|
|
120
|
+
|
|
121
|
+
## đ Acknowledgments
|
|
122
|
+
|
|
123
|
+
Thanks to all developers who contributed to Essor!
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
<div align="center">
|
|
128
|
+
|
|
129
|
+
**If this project helps you, please give us a âī¸**
|
|
130
|
+
|
|
131
|
+
[GitHub](https://github.com/estjs/essor) | [Documentation](https://essor.estjs.dev) | [Discussions](https://github.com/estjs/essor/discussions)
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
|