1.2.0
New:
-
Support for specifying custom Compose compiler versions. This will allow you to use the latest
version of Molecule with newer versions of Kotlin than it explicitly supports.See the README for more information.
Fixed:
- Ensure frame times sent by
RecompositionMode.Immediate
always increase. Previously,
when targeting JS, the same frame time could be seen since the clock only has millisecond
precision. Since the frame time is in nanoseconds, synthetic nanosecond offsets will be added to
ensure each timestamp is strictly greater than the last. - Perform teardown of the composition on cancellation within an existing coroutine rather than in
a job completion listener. This ensures it executes on the same dispatcher as the rest of the
system, rather than on the canceling caller's thread.