https://github.com/laszlokorte/svatom-lib
Helper functions for optics based CALMMjs architecture in svelte5
https://github.com/laszlokorte/svatom-lib
calmm-js lenses optics reactivity signals svelte
Last synced: about 13 hours ago
JSON representation
Helper functions for optics based CALMMjs architecture in svelte5
- Host: GitHub
- URL: https://github.com/laszlokorte/svatom-lib
- Owner: laszlokorte
- Created: 2025-06-19T00:59:44.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-07-09T14:15:01.000Z (3 months ago)
- Last Synced: 2025-08-08T22:51:21.417Z (2 months ago)
- Topics: calmm-js, lenses, optics, reactivity, signals, svelte
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svatom Library
---
[](https://www.npmjs.com/package/@svatom/basic)
Collection of helper functions to apply the [CalmmJs](https://github.com/calmm-js/documentation/blob/master/introduction-to-calmm.md) architecture in [Svelte (version 5)](https://svelte.dev/)
The core idea is to compose [lenses](https://github.com/calmm-js/partial.lenses) to construct a bidirectional data flow between UI components.
## Dependencies
**Important**: This library contains `.svelte.js` files that need to be compiled in the context of a host project using the svelte compiler.
Svelte is required as peer dependency.
Currently these peer dependencies are required:
```js
{
"devDependencies": {
"partial.lenses": "^14.17.0",
"ramda": "^0.30.1",
"svelte": "^5.0.0"
}
}
```