android-maps-compose
android-maps-compose copied to clipboard
Flag non-remembered State object creation
android-maps-compose 4.3.0
It appears that accidental misuse of android-maps-compose state objects like MarkerState without remember() is common. It would be nice to have the UI/Lint flag such usages.
Compose Runtime 1.5.0 added StateFactoryMarker to flag these usages. However, it is only applicable to function calls, not constructor calls. android-maps-compose uses constructor calls for creating State objects.
I have created https://issuetracker.google.com/issues/318054171 to extend StateFactoryMarker to constructor calls. Please consider voting for this issue or promoting it in other ways.
:tada: This issue has been resolved in version 6.0.0 :tada:
The release is available on:
v6.0.0- GitHub release
Your semantic-release bot :package::rocket: