swift-composable-architecture
redux
Our great sponsors
swift-composable-architecture | redux | |
---|---|---|
59 | 6 | |
11,377 | 57,680 | |
4.4% | - | |
9.6 | 9.0 | |
4 days ago | about 2 years ago | |
Swift | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-composable-architecture
-
Kaleidoscope of iOS app architectures
TCA for short. Very scalable, quite promising, quite popular. A decent alternative for MVVM enhanced by the Clean Architecture. You can learn more about it in a Point-Free tutorial and on GitHub.
-
My largest project yet: A fully themable, powerful task manager and daily planner built with SwiftUI. Available on iPhone and iPad for free (no ads, IAP or data collected).
đ Built with SwiftUI and The Composable Architecture (TCA): This isnât a feature, but I just want to express my gratitude to the creators and maintainers of these two frameworks, which have played a huge part in making me fall in love with iOS development.
-
Koji je vas odnos prema alternativnim hype-ovanim paradimama programiranja, frameworcima i tehnologijama?
Razliciti alternativni frameworci i arhitekture - Recimo, na pamet mi padaju Composable Architecture (https://github.com/pointfreeco/swift-composable-architecture) i RIBs arhitektura (https://github.com/uber/RIBs). Ok, ove arhitekture resavaju neke probleme. Ali da li problemi koje te arhitekture resavaju solidan developer ne moze sam da resi bez vendor locka za kreatore tih arhitektura. Jesu one open-source, ali meni je rizik da se vezujem za bilo sta sto sutra moze da prestane da se odrzava.
- SwiftUI Structure and Architecture
-
What design patterns exist and which should I learn for SwiftUI?
I came across this post discussing MVM, MVVM, MVP, and composable architecture.
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
At a minimum, Composable Architecture, and now Dependencies from Point-Free.
-
Ideal architecture for an app entirely in SwiftUI? Example code repo would be great
Iâve built a couple of apps with this framework: https://github.com/pointfreeco/swift-composable-architecture
- Use of EnvironmentObjects for sharing ObservableObjects
-
Best way forward coming from the Javascript / Typescript world?
While there are apps that use a Redux-style architecture, the arch is still in its infancy in the community. There are a number of implementations each with their own take on Redux. TCA is probably the one with the most name recognition and documentation.
-
Should You Still Learn UIKit?
Learn it if the project at hand requires it. A lot of older, more mature apps will still use UIKit, so itâs likely if you plan to work an iOS developer job that you will need it. But itâs getting to the point where a lot of the forward thinking shops are already starting to integrate SwiftUI. (Me being one of them) which, btw, a lot of people will say SwiftUI isnât quite there yet, and I mostly disagree. SwiftUI is good for a great many use cases. Yes, there are still pain points, but you can write most of the apps youâd need to write in SwiftUI. And there are great architectural frameworks out there that actually give SwiftUI an opinionated way to structure apps that is testable and maintainable. Check out pointfreecoâs The Composable Architecture (https://github.com/pointfreeco/swift-composable-architecture)
redux
-
How to logically combine react-router and redux for client- and server-side rendering
I'd like my React based SPA to render on server side (who's not these days). Therefore I want to combine React with react-router, redux and some build layer like isomorphic starterkit.
-
React-redux connect method unable to locate store in props
I have a application structure that mostly mimics the redux real-world example but can't get past getting this error:
-
Why do Redux examples pass empty object as first Object.assign() argument?
In the todoMVC example of the redux project, the reducer for dealing with todos have these lines:
-
Implementing undo / redo in Redux
For a while now I've been wracking my brain as to how you would implement undo / redo in Redux with server interactions (via ajax).
-
How do you configure babel to run with different configurations in different environments
{ "name": "add-projects", "version": "0.0.0", "description": "Add projects", "scripts": { "start": "node server.js" }, "repository": { "type": "git", "url": "https://github.com/rackt/redux.git" }, "license": "MIT", "bugs": { "url": "https://github.com/rackt/redux/issues" }, "homepage": "http://rackt.github.io/redux", "dependencies": { "immutable": "^3.7.6", "react": "^0.14.0", "react-dom": "^0.14.0", "react-redux": "^4.0.0", "redux": "^3.0.0", "redux-thunk": "^0.1.0", "redux-undo": "^0.5.0" }, "devDependencies": { "babel-core": "^5.6.18", "babel-loader": "^5.1.4", "babel-plugin-react-transform": "^1.1.0", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.3.13", "babel-tape-runner": "^2.0.0", "enzyme": "^2.0.0-rc1", "expect": "^1.6.0", "express": "^4.13.3", "jsdom": "^7.2.2", "node-libs-browser": "^0.5.2", "react-addons-test-utils": "^0.14.6", "react-transform-hmr": "^1.0.0", "tape": "^4.4.0", "tape-run": "^2.1.2", "webpack": "^1.9.11", "webpack-dev-middleware": "^1.2.0", "webpack-hot-middleware": "^2.2.0" }} Here is the server.js:
-
How do you add/remove to a redux store generated with normalizr?
I can't find any examples online of someone working with the normalizr tree in this way. The official example does no adding and removing so it was no help either.
What are some alternatives?
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
zustand - đ» Bear necessities for state management in React
redux - A JS library for predictable global state management
SWR - React Hooks for Data Fetching
tca-swiftui-navigation-demo - Demo project that shows how to implement navigation in SwiftUI iOS application using Swift Composable Architecture
xstate - Actor-based state management & orchestration for complex app logic.
iOS-Viper-Architecture - This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc.
valtio - đ Valtio makes proxy-state simple for React and Vanilla
GRDB.swift - A toolkit for SQLite databases, with a focus on application development
flux - Application Architecture for Building User Interfaces
TCA-tutorial
Fluxor - Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.