@pyreon/solid-compat 0.7.0 → 0.7.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 +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ function Display() {
|
|
|
108
108
|
## Key Differences from SolidJS
|
|
109
109
|
|
|
110
110
|
- **Same mental model.** Pyreon's reactivity is signal-based, just like Solid.
|
|
111
|
-
- **`createEffect` cleanup is
|
|
111
|
+
- **`createEffect` cleanup is supported.** Pyreon's `effect()` supports both return-value cleanup and `onCleanup()` for registering cleanup functions imperatively.
|
|
112
112
|
- **`lazy` throws promises for Suspense.** Works with `<Suspense>` boundaries.
|
|
113
113
|
|
|
114
114
|
## API
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/solid-compat",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "SolidJS-compatible API shim for Pyreon — write Solid-style code that runs on Pyreon's reactive engine",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"prepublishOnly": "bun run build"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@pyreon/core": "^0.7.
|
|
53
|
-
"@pyreon/reactivity": "^0.7.
|
|
54
|
-
"@pyreon/runtime-dom": "^0.7.
|
|
52
|
+
"@pyreon/core": "^0.7.1",
|
|
53
|
+
"@pyreon/reactivity": "^0.7.1",
|
|
54
|
+
"@pyreon/runtime-dom": "^0.7.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@happy-dom/global-registrator": "^20.8.3",
|