https://kotlinlang.org logo
Title
n

nfrankel

02/07/2021, 5:12 PM
my take on compose as a traditional developer used to swing (and swt)
👏 6
d

Dominaezzz

02/07/2021, 5:21 PM
nit:
derivedStateOf
needs to be `remember`ed too.
👍 1
o

olonho

02/07/2021, 5:27 PM
also note that
The task uses jpackage under the hood, so be sure to use a JDK 14 or more. Also, be aware that you will still require a JRE to execute the installed application.
is not exactly correct, JRE is bundled with the package, so no separate JRE is needed
😮 1
n

nfrankel

02/07/2021, 5:41 PM
@olonho the package bundles a jre but you’ll still need a jre whether the packaged one or not granted, i could probably change the wording to make it clearer
m

Michael Paus

02/08/2021, 1:05 PM
@nfrankel I still don’t understand your last comment. If you have packaged an application you can transfer it to any other machine and in order to install and run the application NO JRE needs to be present on the target machine because a JRE is bundled with the application. This is not specific to Compose. It’s the same way as it works for JavaFX for example.