cashapp / cashapp/molecule

Relationship between molecule and Compose UI

Open
#172 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
2.2k
Forks
116
Avg merge
1h 36m
Merged PRs (30d)
8

Description

Considering the common confusion around Compose / Compose UI it might be helpful to add a small section to the README explaining the relationship between molecule and Compose UI:

- You don't need to use Compose UI in order to use molecule
- If your app is fully Compose UI you don't necessarily need to use molecule
- If you don't need the output to be a `StateFlow` you don't need molecule and can call "presenter" functions (from Compose UI's composition) that return a `State`
- __
- __
- __

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README and review the existing explanations of Molecule and Compose UI. Add a small section covering when Molecule is and is not needed, including the StateFlow distinction and the possible pros, cons, and added complexity. Done means the relationship and decision points are clear to readers.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.