• j

    jw

    1 year ago
    Are you looking into isomorphic rendering? One of the things I couldn't get working (with my own Compose DOM implementation) was to render an initial tree on the server and resume it on the client without re-emitting the initial DOM tree. Maybe that initial re-render isn't terrible, but it'd be nice to skip it.
    j
    olonho
    +5
    12 replies
    Copy to Clipboard
  • altavir

    altavir

    1 year ago
    Does it support exposing DOM elements? Like in this issue. If it is I can start using it in our visualization projects
    altavir
    olonho
    +1
    4 replies
    Copy to Clipboard
  • spierce7

    spierce7

    1 year ago
    I love that you guys are experimenting with 2 separate APIs for compose web. Have you considered a canvas rendered API that can very accurately render the same widget across desktop, android and web? I’ve found I typically work on teams that create private websites behind an auth barrier, where SEO isn’t relevant. In a lot of these cases, I’d prefer a canvas rendering between Desktop, Mobile, and Web, where I had some level of confidence that there was consistency between the platforms. Have you guys considered providing a canvas solution?
    spierce7
    Javier
    +2
    7 replies
    Copy to Clipboard
  • spierce7

    spierce7

    1 year ago
    Compose for web is only available with the JS IR compiler, which doesn’t support source-maps, right?
    spierce7
    o
    +2
    8 replies
    Copy to Clipboard
  • John O'Reilly

    John O'Reilly

    1 year ago
    All the Compose Web samples seem to use
    multiplatform
    plugin......is that necessary or can you just have module containing compose web code with dependency then on a separate multiplatform module?
    John O'Reilly
    Javier
    +1
    17 replies
    Copy to Clipboard
  • g

    Greg Steckman

    1 year ago
    Trying out the "multiplatform widgets" I see that for the web they are in a different package than on desktop, e.g. org.jetbrains.compose.common.material.Button vs androidx.compose.material.Button. The function signatures are also not the same. IntelliJ isn't finding the source code, and I can't find it in https://github.com/jetbrains/compose-jb. Where can I find the source code to see what other widgets currently have an implementation?
    g
    o
    2 replies
    Copy to Clipboard
  • spierce7

    spierce7

    1 year ago
    What is the intended purpose of the jvm source set inside of web module? https://github.com/JetBrains/androidx/tree/compose-web-main/compose/web/src
    spierce7
    1 replies
    Copy to Clipboard
  • Equilat

    Equilat

    1 year ago
    Hi ! I'm discovering the new Jetpack Compose for web. I discovered the ability to write Stylesheets in Kotlin. For non Kotlin supported properties, there is the property(propertyName: String, value: StylePropertyValue). I would like to be able to add a font family from ttf file to my style. I know there is the @font-face in css but how could I manage to use it with the property(...) thing ?
    Equilat
    SerVB
    2 replies
    Copy to Clipboard
  • AJ Alt

    AJ Alt

    1 year ago
    It looks like
    0.0.0-web-dev-11
    doesn't support Kotlin 1.5. Is there a version that does?
    AJ Alt
    1 replies
    Copy to Clipboard
  • Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    So if an element like
    iframe
    is not in the DOM API, what does one do?
    Chris Sinco [G]
    j
    +2
    7 replies
    Copy to Clipboard