@getforma/core 0.1.0 → 0.1.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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -29,13 +29,13 @@ mount(() =>
|
|
|
29
29
|
|
|
30
30
|
## Features
|
|
31
31
|
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
34
|
-
- **Islands architecture** — `activateIslands()` for
|
|
35
|
-
- **
|
|
36
|
-
- **
|
|
37
|
-
- **
|
|
38
|
-
- **
|
|
32
|
+
- **Real DOM** — `h()` creates actual DOM elements with reactive bindings. No virtual DOM, no diffing overhead.
|
|
33
|
+
- **Fine-grained reactivity** — signals, effects, computed values via alien-signals. Only what changed updates.
|
|
34
|
+
- **Islands architecture** — `activateIslands()` for independent hydration of server-rendered HTML regions.
|
|
35
|
+
- **SSR hydration** — `adoptNode()` walks server-rendered DOM and attaches reactive bindings without re-creating elements.
|
|
36
|
+
- **Conditional rendering** — `createShow()`, `createSwitch()` with branch caching for O(1) toggle.
|
|
37
|
+
- **List rendering** — `createList()` with LIS-based keyed reconciliation, handles 50K+ rows.
|
|
38
|
+
- **State management** — `createStore()` with deep reactivity, history, persistence.
|
|
39
39
|
|
|
40
40
|
## Ecosystem
|
|
41
41
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getforma/core",
|
|
3
3
|
"author": "Forma <victor@getforma.dev>",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"description": "Real DOM reactive library — fine-grained signals, islands architecture, SSR hydration. No virtual DOM, no diffing. ~15KB gzipped.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
8
8
|
"module": "./dist/index.js",
|