https://github.com/markmals/reactivity
Reactive state management library, independent of any UI framework
https://github.com/markmals/reactivity
Last synced: 12 days ago
JSON representation
Reactive state management library, independent of any UI framework
- Host: GitHub
- URL: https://github.com/markmals/reactivity
- Owner: markmals
- Created: 2024-08-11T03:48:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-13T18:59:12.000Z (10 months ago)
- Last Synced: 2025-10-11T06:14:57.004Z (8 months ago)
- Language: Swift
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reactivity
> [!CAUTION]
> This package is still very much a work-in-progress and is not yet fully implemented!
An implementation of a fine-grained reactive system for Swift, similar to that of [Solid.js](https://www.solidjs.com). The algorithm is based on [Leptos' `reactive_graph` crate](https://github.com/leptos-rs/leptos/tree/main/reactive_graph). This package started out as a 1:1 translation of Leptos' Rust source code to Swift.
## Discussion & Questions
- [Why Thread Local? Technical question about reactivity implementation](https://github.com/leptos-rs/leptos/discussions/2807)
- [This conversation](https://universeodon.com/@markmalstrom/112932995815099210) between [@markmalstrom@universeodon.com](https://universeodon.com/@markmalstrom) and [@mattiem@mastodon.social](https://mastodon.social/@mattiem)
- [This gist](https://gist.github.com/markmals/e880043a5f59436b2cc581f9692e6fd6) with an exploration of a minimal auto-tracking reactivity API in Swift and the resulting conversation between Matt and myself in the comments