@ktjs/core 0.34.0 → 0.34.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 +10 -9
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
# KT.js
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/kt.js)
|
|
4
|
-
[](https://www.npmjs.com/package/kt.js)
|
|
5
|
-
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
|
|
7
3
|
<p align="center">
|
|
8
4
|
<a href="https://baendlorel.github.io/kt.js/">
|
|
9
|
-
<img src="https://raw.githubusercontent.com/baendlorel/kt.js/refs/heads/main/assets/ktjs-0.0.1.svg" width="
|
|
5
|
+
<img src="https://raw.githubusercontent.com/baendlorel/kt.js/refs/heads/main/assets/ktjs-0.0.1.svg" width="200px" alt="KT.js logo" />
|
|
10
6
|
</a>
|
|
11
7
|
</p>
|
|
8
|
+
<p align="center">
|
|
9
|
+
<img src="https://img.shields.io/npm/v/kt.js.svg"/>
|
|
10
|
+
<img src="https://img.shields.io/npm/dm/kt.js.svg"/>
|
|
11
|
+
<img src="https://img.shields.io/badge/License-MIT-yellow.svg"/>
|
|
12
|
+
</p>
|
|
12
13
|
|
|
13
|
-
<
|
|
14
|
+
<h4 align="center">Doc → <a href="https://baendlorel.github.io/kt.js/">https://baendlorel.github.io/kt.js/</a></h4>
|
|
14
15
|
|
|
15
|
-
> kt.js is still under development,
|
|
16
|
+
> kt.js is still under development, there might be some breaking api changes.
|
|
16
17
|
|
|
17
|
-
## Recent Updates
|
|
18
|
+
## Recent Updates
|
|
18
19
|
|
|
19
20
|
1. `ref.value` remains the standard read API, and it can also replace the whole outer value with `ref.value = nextValue`.
|
|
20
21
|
2. `ref.draft` is the deep-mutation entry for literally any objects. Just use `someRef.draft.a = someValue`, and kt.js will add it to microqueue and redraw it on the next tick. Works for `Map`, `Set`, `Array`, `Date` and your custom objects.
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
|
|
29
30
|
## Introduction
|
|
30
31
|
|
|
31
|
-
kt.js is a
|
|
32
|
+
kt.js is a web framework with a tiny runtime that renders real DOM directly (no virtual DOM), uses explicit reactivity variables and gives you manual control over refs, bindings, and redraw timing.
|
|
32
33
|
|
|
33
34
|
KT.js focuses on one principle: keep direct control of the DOM and avoid unnecessary repainting.
|
|
34
35
|
|
package/dist/index.mjs
CHANGED
|
@@ -251,7 +251,7 @@ function applyKModel(element, valueRef) {
|
|
|
251
251
|
* ## About
|
|
252
252
|
* @package @ktjs/core
|
|
253
253
|
* @author Kasukabe Tsumugi <futami16237@gmail.com>
|
|
254
|
-
* @version 0.34.
|
|
254
|
+
* @version 0.34.1 (Last Update: 2026.03.24 10:12:38.538)
|
|
255
255
|
* @license MIT
|
|
256
256
|
* @link https://github.com/baendlorel/kt.js
|
|
257
257
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/package.json
CHANGED