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 CHANGED
@@ -0,0 +1,134 @@
1
+ # Essor - Next Generation Frontend Framework
2
+
3
+ <div align="center">
4
+
5
+ ![Essor Logo](logo.svg)
6
+
7
+ **🚀 It's just JavaScript - Instant start, ultimate performance, no complex concepts**
8
+
9
+ [![npm version](https://img.shields.io/npm/v/essor.svg)](https://www.npmjs.com/package/essor)
10
+ [![npm downloads](https://img.shields.io/npm/dm/essor.svg)](https://www.npmjs.com/package/essor)
11
+ [![GitHub license](https://img.shields.io/github/license/estjs/essor.svg)](https://github.com/estjs/essor/blob/main/LICENSE)
12
+ [![GitHub issues](https://img.shields.io/github/issues/estjs/essor.svg)](https://github.com/estjs/essor/issues)
13
+ ![codecov](https://img.shields.io/codecov/c/github/estjs/essor)
14
+ ![ci](https://img.shields.io/github/actions/workflow/status/estjs/essor/ci.yml?label=CI&logo=GitHub)
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
+