[JB] Shagen

    [JB] Shagen

    1 year ago
    Hey how you all've been doing? This weeks changes in Compose for Web.https://github.com/JetBrains/compose-jb/releases/tag/v1.0.0-alpha4-build321
    hfhbd

    hfhbd

    1 year ago
    Finally controlled inputs 🚀
    And
    @Composable
    as constructor parameter. Wow!
    d

    darkmoon_uk

    1 year ago
    Nice progress 👍 @[JB] Shagen forgive me for taking opportunity to highlight a bug but as someone who lives often between Kotlin/JS and Compose; this may be of some interest to you - this combination appears unfriendly to generated class files: I filed this bug with repro project yesterday... popular 'Build Konfig' plugin is impacted.
    [JB] Shagen

    [JB] Shagen

    1 year ago
    @darkmoon_uk no worries Chris, bugs are very important for us and thank you for reporting. The thing is that Kotlin project is not the best place to issue bug related to Compose - I mean quite often in some form we still end up reporting there but as a first phase of investigation I've copied your issue and here it is - https://github.com/JetBrains/compose-jb/issues/1104 will keep you posted on the progress
    d

    darkmoon_uk

    1 year ago
    Thanks @[JB] Shagen. One more Q; can we expect a Kotlin 1.5.30-based Compose build in next few day or weeks? Any users of Ktor/JS can't gradle sync [1][2] until adopting
    1.5.30
    . Thanks 🙏
    [JB] Shagen

    [JB] Shagen

    1 year ago
    Well, I can not say how soon it will happen but Compose team tend to switch to new compiler version as soon as possible - and 1.5.30 is not exception to this
    hfhbd

    hfhbd

    1 year ago
    Did you remove the
    @Composable
    annotation in
    Style
    and what is a replacement? Edit: Was broken due removing
    inline
    , https://github.com/JetBrains/compose-jb/pull/1112 will revert it by align the
    StyleSheetBuilder
    parameter with @Composable
    ContentBuilder