@everystate/examples 1.0.0
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 +29 -0
- package/index.js +8 -0
- package/package.json +26 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @everystate/examples
|
|
2
|
+
|
|
3
|
+
**Example applications and patterns for EveryState**
|
|
4
|
+
|
|
5
|
+
A collection of working examples demonstrating EveryState patterns and best practices.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @everystate/examples
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Examples Included
|
|
14
|
+
|
|
15
|
+
- **Counter**: Basic state management
|
|
16
|
+
- **Todo App**: CRUD operations with lists
|
|
17
|
+
- **Async Data**: Loading states and error handling
|
|
18
|
+
- **Routing**: SPA navigation
|
|
19
|
+
- **Forms**: Form state and validation
|
|
20
|
+
- **Performance**: Using the perf monitor
|
|
21
|
+
- **CSS State**: Reactive styling
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
Each example is a standalone HTML file that can be opened in a browser or served locally.
|
|
26
|
+
|
|
27
|
+
## License
|
|
28
|
+
|
|
29
|
+
MIT © Ajdin Imsirovic
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@everystate/examples",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "EveryState Examples: Example applications and patterns",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"everystate",
|
|
8
|
+
"examples",
|
|
9
|
+
"state-management",
|
|
10
|
+
"event-driven",
|
|
11
|
+
"tutorials",
|
|
12
|
+
"patterns"
|
|
13
|
+
],
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Ajdin Imsirovic",
|
|
16
|
+
"url": "https://www.linkedin.com/in/ajdin-imsirovic"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/ImsirovicAjdin/everystate-examples"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@uistate/examples": "^1.0.2"
|
|
25
|
+
}
|
|
26
|
+
}
|