Skip to content

Rename ViewStore render and handle APIs#259

Merged
hkusu merged 2 commits into
mainfrom
codex/viewstore-renderstate-collectevent
May 25, 2026
Merged

Rename ViewStore render and handle APIs#259
hkusu merged 2 commits into
mainfrom
codex/viewstore-renderstate-collectevent

Conversation

@hkusu
Copy link
Copy Markdown
Member

@hkusu hkusu commented May 24, 2026

Summary

  • rename the ViewStore composable helpers from render and handle to stateContent and eventEffect
  • keep render and handle as deprecated forwarding APIs to preserve source compatibility during migration
  • update the README, internal notes, and JVM tests to use the new names

Why

  • make the state rendering and event collection roles more explicit in Compose usage
  • avoid the ambiguity of shorter names around the existing viewStore.state property

Impact

  • existing call sites continue to compile through the deprecated wrappers
  • new documentation and tests point users to the replacement APIs

Verification

  • ./gradlew :koma-compose:jvmTest

@hkusu hkusu merged commit 07beaff into main May 25, 2026
5 checks passed
@hkusu hkusu deleted the codex/viewstore-renderstate-collectevent branch May 25, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant