@pyreon/solid-compat 0.7.0 → 0.7.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. 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 not supported.** Pyreon's `effect()` does not use return values as cleanup functions.
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.0",
3
+ "version": "0.7.2",
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.0",
53
- "@pyreon/reactivity": "^0.7.0",
54
- "@pyreon/runtime-dom": "^0.7.0"
52
+ "@pyreon/core": "^0.7.2",
53
+ "@pyreon/reactivity": "^0.7.2",
54
+ "@pyreon/runtime-dom": "^0.7.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@happy-dom/global-registrator": "^20.8.3",