Comments (2)
We actually want to trigger a UI layer recomposition (by changing the AppState value) each time there is a change in the ScreenState. On each recomposition, both JetpackCompose and SwiftUI are smart enough to update only the components whose data has changed.
The fact there is only one AppState is actually good for performance, as we require ONLY ONE observable, which is our StateFlow having the AppState as its value.
from d-kmp-sample.
ok, thank you so much.
from d-kmp-sample.
Related Issues (20)
- Is there any way to achieve Android navigation transitions in this project? HOT 1
- Navigation appears to be broken on iOS HOT 7
- Error SockeTimeout when building `shared:runCommonizer` task HOT 5
- Yup
- Some doubts HOT 2
- Could not initialize class org.jetbrains.kotlin.com.intellij.pom.java.LanguageLevel HOT 1
- First run not working HOT 1
- slowness in opening the project HOT 1
- Could not resolve ktor-client-js HOT 1
- the architecture of D-KMP may be too complex? HOT 2
- Bad Gateway trying to get compose runtime HOT 2
- Result from other view/state HOT 1
- Ios could not see getIosInstance() HOT 2
- "Jvm target compatibility should be set to the same Java version" build error HOT 1
- FAILURE: Build failed with an exception. HOT 4
- App not working for android < 26. HOT 5
- iOS Native App HOT 10
- [Question] Architecture and implementation details HOT 1
- [Deprecated] Remove jcenter HOT 3
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 d-kmp-sample.