I upgraded my project to use compose multiplatform...
# compose
I upgraded my project to use compose multiplatform 1.5.0-beta01, and as mentioned in the changelog, "*Resource management was reimplemented*", which as far as I can tell is a breaking change for all resource management libraries (libres & moko resources). So is there a new way to handle resource management in compose 1.5 that would let me make do with out a resource management library or should I implement it myself or wait for the libraries to be updated?
If you add
Copy code
to your shared build.gradle.kts file, you can access resources in
like this
Copy code
val configString = resource("config.json").readBytes().decodeToString()
for raw bytes or like this
Copy code
val headerGraphicsPainter = painterResource("header_graphics.png")
for image resources.