essor 0.0.15-beta.8 → 0.0.16-beta.1

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
@@ -1,27 +1,136 @@
1
- # @estjs/core
1
+ # Essor - Next Generation Frontend Framework
2
2
 
3
- The core runtime for the **Essor** framework. It provides the application initialization logic and integrates the reactivity system with the rendering engine.
3
+ <div align="center">
4
4
 
5
- ## Installation
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
6
35
 
7
36
  ```bash
37
+ # Using create-essor
38
+ npm create essor@latest my-app
39
+
40
+ # Or install manually
8
41
  npm install essor
9
42
  ```
10
43
 
11
- ## Usage
44
+ ### 2. Write Component
12
45
 
13
- ```tsx
14
- import { createApp, signal } from 'essor';
46
+ ```jsx
47
+ import { signal } from 'essor';
15
48
 
16
- function App() {
49
+ function Counter() {
17
50
  const count = signal(0);
18
- return <button onclick={() => count.value++}>{count.value}</button>;
51
+
52
+ return (
53
+ <div>
54
+ <h1>Count: {count}</h1>
55
+ <button onClick={() => count.value++}>
56
+ Increment
57
+ </button>
58
+ </div>
59
+ );
19
60
  }
61
+ ```
62
+
63
+ ### 3. Start Development Server
20
64
 
21
- createApp(App, document.body);
65
+ ```bash
66
+ npm run dev
22
67
  ```
23
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
+ - [Signals](./examples/signals) - Signal state, computed outputs, and batch updates
81
+ - [TodoMVC](./examples/todo-mvc) - Basic todo flows
82
+ - [Fragment](./examples/fragment) - Wrapper-free table rows
83
+ - [Binding](./examples/binding) - Bind API across text, select, range, and files
84
+ - [Provide](./examples/provide) - Scoped dependency injection
85
+ - [Portal](./examples/portal) - Portal target switching and inline fallback
86
+ - [Suspense](./examples/suspense) - Async boundaries with loading fallbacks
87
+ - [HMR](./examples/hmr) - Stateful hot-refresh demo
88
+ - [Hydrate](./examples/hydrate) - SSR shell and client hydration
89
+
90
+
91
+ ## 🤝 Contributing
92
+
93
+ We welcome all forms of contributions!
94
+
95
+ - 🐛 [Report Bugs](https://github.com/estjs/essor/issues)
96
+ - 💡 [Suggest Features](https://github.com/estjs/essor/discussions)
97
+ - 📝 [Submit PRs](https://github.com/estjs/essor/pulls)
98
+ - 📚 [Improve Documentation](https://github.com/estjs/essor/tree/main/docs)
99
+
100
+ ### Development Setup
101
+
102
+ ```bash
103
+ # Clone repository
104
+ git clone https://github.com/estjs/essor.git
105
+ cd essor
106
+
107
+ # Install dependencies
108
+ pnpm install
109
+
110
+ # Start development mode
111
+ pnpm dev
112
+
113
+ # Run tests
114
+ pnpm test
115
+
116
+ # Build project
117
+ pnpm build
118
+ ```
119
+
120
+ ## 📄 License
121
+
122
+ [MIT License](./LICENSE)
123
+
124
+ ## 🙏 Acknowledgments
125
+
126
+ Thanks to all developers who contributed to Essor!
127
+
128
+ ---
129
+
130
+ <div align="center">
131
+
132
+ **If this project helps you, please give us a â­ī¸**
24
133
 
25
- ## License
134
+ [GitHub](https://github.com/estjs/essor) | [Documentation](https://essor.netlify.app/) | [Discussions](https://github.com/estjs/essor/discussions)
26
135
 
27
- MIT
136
+ </div>