So we just shipped v2.0.0 of Easy Analytics, and I did something that felt terrifying: removed the entire Jetpack Compose module that users were actively using.
The problem: Compose recomposition can happen 50+ times per second. Our annotation tried to be smart about when to track, but there's no universal answer. Different apps need different timing. We were making decisions for developers that only they could make correctly.
What we did instead:
Removed the Compose module entirely
Gave developers explicit control with `@Trackable` and `@Track` annotations
Documented exactly how to handle tracking with LaunchedEffect/DisposableEffect
More verbose? Yes. But now developers see when tracking happens instead of it being hidden behind magic.
The refactoring: We also split an 860-line monolithic file into 7 focused helpers:
Bugs that took 3 days to fix now take under an hour because you know exactly which component failed.
Future plans:
Migrate to Kotlin compiler plugin (goodbye bytecode transformation)
Proper Compose Multiplatform support (iOS, Desktop, Web)
Wrote up the full journey with architecture diagrams: here
GitHub: Easy Analytics
Would love to hear from anyone who's made similar "remove features to improve" decisions
1
Why does prompt caching matter
in
r/ClaudeCode
•
26d ago
I understand your problem but for me to overcome it me and main session’s agent agree on the tasks and implementation so the subagent get the changes needed (no need for searching again through the repo)