Comments (1)
The store is not actually mutable since it is (supposed to be) a struct. The store class invokes the "update state" function which is a sort of reducer of the dispatched action.
In the very initial phases of Katana, we used to have an identical approach as Redux, and we had reducers. This caused huge issues in boilerplate code and so we decided to swift to this action+reducer approach. So far the approach worked great, but we always look for improvements and better ways to handle the whole flow
from katana-swift.
Related Issues (20)
- Improve state mocking
- Managed children of native view don't update correctly in collectionviews
- Store queue management should be refactored
- Katana Refs
- undefined is not an object (evaluting 'Proptypes.number') HOT 2
- Fail carthage build HOT 1
- Dead links in README HOT 2
- ChangeLog.md Request
- Interface Builder HOT 1
- Reduce boilerplate in Actions HOT 7
- Is there any co-currency management for a single store? HOT 2
- [experimental] Catching errors when dispatching HOT 2
- [experimental] ObserverInterceptor items executed more than once HOT 1
- StoreListener change HOT 4
- Katana for SwiftUI HOT 1
- Can't build with Carthage HOT 2
- Provide Sample Project HOT 1
- SPM Installation (v4.0.0) failed
- Update Swift version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katana-swift.