• n

    Nikola Milovic

    1 year ago
    Anyone had this happen on Multiplatform web project?
    Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find runtime-1.0.0-alpha2-samplessources.jar (org.jetbrains.compose.runtime:runtime:1.0.0-alpha2).
    I had similar issue in another library and had to move to default compiler and not IR, and now idk if that breaks
    implementation(compose.runtime)
       implementation(compose.web.widgets)
    I have a KMP project and a web-app module with this in the build gradle
    n
    c
    3 replies
    Copy to Clipboard
  • andylamax

    andylamax

    1 year ago
    It is getting tricky to author a universal multiplatform Composable at the moment coz I see that The Jetpack Compose Modifier and Compose 4 Desktop are using the exactly same modifier, located at
    androidx.compose.ui.Modifier
    while Compose for Web Modifier is entirely different and currently located at
    org.jetbrains.compose.common.ui.Modifier
    , Isn't this a cry out for expect/actual declaration? Or maybe I am missing something, Can someone in the Compose 4 Web team explain to me why such a decision was made?
    andylamax
    d
    +1
    23 replies
    Copy to Clipboard
  • Tomasz Krakowiak

    Tomasz Krakowiak

    1 year ago
    Are there plans to implement SSR and hydration for compose-web?
    Tomasz Krakowiak
    1 replies
    Copy to Clipboard
  • Derek Ellis

    Derek Ellis

    1 year ago
    If I'm understanding things correctly, if I pass a plain JS object created like
    js("{...}")
    (or with the
    jsObject()
    helper) to a composable function, there wouldn't be any way for the composable to know when to recompose if a property in that object changed because there's no real equality comparisons for plain JS objects. So if I want to pass data to a composable function, I don't really have a choice but to use Kotlin classes, right?
    Derek Ellis
    andylamax
    2 replies
    Copy to Clipboard
  • andylamax

    andylamax

    1 year ago
    I remember seeing a
    Modifier.css { }
    somewhere, where is it? Which package? or was it a custom implementation from someone?
    andylamax
    [JB] Shagen
    2 replies
    Copy to Clipboard
  • [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
    [JB] Shagen
    hfhbd
    +1
    7 replies
    Copy to Clipboard
  • hfhbd

    hfhbd

    1 year ago
    Anybody else getting IR errors during
    compileProductionLibraryKotlinJs
    with latest compose version? https://youtrack.jetbrains.com/issue/KT-48425
    hfhbd
    o
    5 replies
    Copy to Clipboard
  • d

    Dazai

    1 year ago
    can some one point me to a resource or let me know how to use ktor as a backend to serve a compose-web client?
    d
    Big Chungus
    +1
    13 replies
    Copy to Clipboard
  • MrPowerGamerBR

    MrPowerGamerBR

    1 year ago
    Did anyone have issues with "onClick" not working on iOS (Safari) devices? iOS users are saying that clicking doesn't do anything, but it works fine under Firefox or Chrome
    MrPowerGamerBR
    2 replies
    Copy to Clipboard
  • Cicero

    Cicero

    1 year ago
    Hello, what are you guys using for language localization?
    Cicero
    1 replies
    Copy to Clipboard