{"repo":"ra1028/swiftui-atom-properties","free":true,"listed":false,"github":"https://github.com/ra1028/swiftui-atom-properties","clone":"git clone https://github.com/ra1028/swiftui-atom-properties.git","description":"⚛️ Atomic approach state management and dependency injection for SwiftUI","language":"Swift","stars":337,"topics":["architecture","dependency-injection","swiftui","testability","atomic","declarative","reactive","state-management","swift","service-locator"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Atoms Atomic approach state management and dependency injection for SwiftUI 📔 API Reference --- - Introduction - Examples - Getting Started - Documentation - Requirements - Installation - Basic Tutorial - Guides - AtomRoot - Atom - Modifier - Attribute - Property Wrapper - Context - View - Techniques - Advanced Usage - Contributing - Acknowledgements - License --- Introduction Reactive Data Binding Effective Caching Compile Safe Dependency Injection :------------------------ :---------------- :-------------------------------- Pieces of app data that can be accessed from anywhere propagate changes reactively. Cache data during in use and recompute only when truly needed. Successful compilation guarantees that dependency injection is ready. Atoms offer a simple but practical capability to tackle the complexity of modern apps. It effectively integrates the solution for both state management and dependency injection while allowing us to rapidly build a robust and testable application. Building state by compositing atoms automatically optimizes rendering based on its dependency graph. This solves the problem of performance degradation caused by extra re-render which occurs before you realize. Quick Overview - Declare your primitive atoms. - Bind the atom to your views. - Share state across views without passing a Binding. --- Examples - - - - - - - Counter Demonstrates the minimum app using this library. - Todo A simple todo app that has user interactions, showing how multiple at","default_branch":null,"files":null,"tree":[],"storefront":"/r/ra1028","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ra1028/swiftui-atom-properties/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}