what-framework 0.8.4 → 0.10.0
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 +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -22,15 +22,15 @@ npm run dev
|
|
|
22
22
|
## Quick Start
|
|
23
23
|
|
|
24
24
|
```jsx
|
|
25
|
-
import { mount,
|
|
25
|
+
import { mount, signal } from 'what-framework';
|
|
26
26
|
|
|
27
27
|
function Counter() {
|
|
28
|
-
const count =
|
|
28
|
+
const count = signal(0);
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
31
|
<div>
|
|
32
32
|
<p>Count: {count()}</p>
|
|
33
|
-
<button onClick={() => count
|
|
33
|
+
<button onClick={() => count(c => c + 1)}>+</button>
|
|
34
34
|
</div>
|
|
35
35
|
);
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "what-framework",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "The
|
|
3
|
+
"version": "0.10.0",
|
|
4
|
+
"description": "The web framework built for AI agents — signals, components, islands, SSR",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"homepage": "https://whatfw.com",
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"what-core": "^0.
|
|
77
|
-
"what-router": "^0.
|
|
78
|
-
"what-server": "^0.
|
|
79
|
-
"what-compiler": "^0.
|
|
76
|
+
"what-core": "^0.10.0",
|
|
77
|
+
"what-router": "^0.10.0",
|
|
78
|
+
"what-server": "^0.10.0",
|
|
79
|
+
"what-compiler": "^0.10.0"
|
|
80
80
|
}
|
|
81
81
|
}
|