kiss-for-react 2.0.1 → 2.0.3
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 +6 -28
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
<img src="https://kissforreact.org/img/KISS_outline.svg" alt="Kiss for React Image" width="150" />
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## React state management for AI agents
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
- For the human: Final code is easy to read and understand
|
|
5
|
+
Kiss helps AI agents stay on track, session after session, while spending fewer tokens.
|
|
6
|
+
|
|
7
|
+
* <img src="https://kissforreact.org/img/claude.svg" alt="Claude" width="20" height="20" align="top" /> [Read Claude's opinion about Kiss](https://kissforreact.org/react/getting-started/claude-opinion-kiss)
|
|
8
|
+
* <img src="https://kissforreact.org/img/openai-readme.svg" alt="OpenAI" width="20" height="20" align="top" /> [Read Codex's opinion about Kiss](https://kissforreact.org/react/getting-started/codex-opinion-kiss)
|
|
10
9
|
|
|
11
10
|
```bash
|
|
12
11
|
npm install kiss-for-react
|
|
@@ -14,31 +13,10 @@ npm install kiss-for-react
|
|
|
14
13
|
|
|
15
14
|
## Complete docs → **[https://kissforreact.org](https://kissforreact.org)**
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
* [Complete AI Docs](https://kissforreact.org/kiss-state-management-docs.md): Single file
|
|
19
|
-
with all Kiss docs, optimized for AI agents.
|
|
20
|
-
Just copy the link and paste it into any AI.
|
|
21
|
-
|
|
22
|
-
### Linter and Quick fixes → [eslint-plugin-kiss-for-react](https://www.npmjs.com/package/eslint-plugin-kiss-for-react)
|
|
23
|
-
|
|
24
|
-
## Why it helps AI agents
|
|
25
|
-
|
|
26
|
-
Kiss improves AI-driven code generation by giving the AI strong guardrails
|
|
27
|
-
that force it to do the right thing while saving tokens.
|
|
28
|
-
[Read about it here](https://kissforreact.org/react/category/ai).
|
|
29
|
-
|
|
30
|
-
## For the human
|
|
31
|
-
|
|
32
|
-
AI can sometimes create code that works but seems alien when you read it.
|
|
33
|
-
With Kiss the code remains human-readable the whole time.
|
|
34
|
-
[Read about it here](https://kissforreact.org/react/category/ai).
|
|
16
|
+
# Linter and Quick fixes → **[eslint-plugin-kiss-for-react](https://www.npmjs.com/package/eslint-plugin-kiss-for-react)**
|
|
35
17
|
|
|
36
18
|
---
|
|
37
19
|
|
|
38
|
-
# Overview
|
|
39
|
-
|
|
40
|
-
Here are the main concepts:
|
|
41
|
-
|
|
42
20
|
## Store and state
|
|
43
21
|
|
|
44
22
|
The **store** holds all application **state**. Here are a few examples:
|