corneil
12/09/2021, 10:32 AMcorneil
12/09/2021, 10:43 AMjim
12/09/2021, 2:56 PMGreg Steckman
12/10/2021, 4:50 AMLeoColman
12/11/2021, 3:08 PMsuspend fun main() {
renderComposable("root") {
Style(AppStyleSheet)
component()
}
}
but I don't know how I'd execute this main. I was going to write a simple main for every component, but that doesn't seem very feasibleDaniel Perez
12/13/2021, 5:07 AMimport TestVar from './files/TestFile.txt';
...
var text = TestVar.text();
Can I use the Kotlin/JS module system to recreate the above?Akram Bensalem
12/17/2021, 12:30 PM--continuous
flag to the arguments for the run configuration ?
I don't have browserDevelopmentRun
instead I have jsBrowserDevelopmentRun
Any help please ?Akram Bensalem
12/19/2021, 8:38 AMOr change it via
browser {
testTask {
useKarma {
useFirefox()
useChrome()
useSafari()
}
}
}
Note: in my computer I have just "Microsoft Edge"
What I have to do ?Dirk Hoffmann
12/20/2021, 9:58 AMgradle jsBrowserRun
shows an empty Browser page,
I guess because build/processedResources ends up in the subprojects build folder, but build/js ends up in the roots build folder ...
how do I get this to work from the js being soley in the subproject?Tóth István Zoltán
12/20/2021, 1:19 PMAkram Bensalem
12/21/2021, 7:57 PMcompose.web.widgets
which provides a collection of Composable components that conform to the API and behaviour of some widgets from Jetpack Compose UI like: Column
, Row
, etc
But it's deprecated
is there any issue or disadvantages using them ?dodalovic
12/21/2021, 8:57 PMFoso
12/23/2021, 10:59 AMBig Chungus
12/23/2021, 4:39 PMChris Sinco [G]
12/24/2021, 6:44 AMIframe
builder in 1.0.0? It seems that IntelliJ can't resolve the attributes within the attribute builder which is odd since you can see the inlay hints are registering and I see them in the definition source in the IDE...[JB] Shagen
12/24/2021, 11:13 AMBig Chungus
12/26/2021, 10:23 PMElementScope<T>
is an interface, but AttrsBuilder<T>
is a class? It'd be great if you could make AttrsBuilder<T>
an interface as well as this would allow injecting some custom DSL for attrs builder (without polluting global namespace as those DSLs are usually only meant for that particular component based on HTMLDivElement and not all HTMLDivElements) when using compose-web to wrap custom components. Here's how I'm utilising the fact that ElementScope<T>
is an interface already (although it only works for lower-level components and is kinda hacky).Tim Ortel
12/28/2021, 10:38 AMkenkyee
12/29/2021, 3:58 PMcorneil
12/31/2021, 8:15 AMkmdc
effort aims to provide Material web components. This divergence isn't a bad thing because the WebComponents path provides a path to converting from other web frameworks.
Maybe we should name these to paths and be explicit about the shared core. You would probably not use any npm packages in the Web Canvas platform.
BTW @Big Chungus how about #kmdc?spierce7
12/31/2021, 5:06 PMsimilar to FlutterFlutter has 2 rendering approaches for web actually. A canvas based approach for speed and correctness, and a dom based approach for binary size, accessibility, and seo. Canvas is the more commonly used one I would imagine.
MrPowerGamerBR
12/31/2021, 6:47 PMRohan Maity
01/04/2022, 6:24 AMcomposable
shared multiplatform module, inside that I have put some compose libraries as commonMain
Android app runs fine, but when I try to run ./gradlew jsBrowserRun
it fails to resolve all the compose dependenciesRohan Maity
01/04/2022, 1:28 PMindex.html
I get completely blank error state screenKiryushin Andrey
01/04/2022, 3:23 PMmultiplatform
replaced with js
in gradle scripts.Rohan Maity
01/05/2022, 4:03 AMThe resource from "<http://localhost:8080/my-file.js>" was blocked due to MIME type ("text/html") mismatch (X-Content-Type-Options: nosniff).
I have confirmed the name and its getting generated in the same folder as index html
Not sure what is the reason
Anyone faced a similar issue ?Paul
01/05/2022, 8:06 AMJoost Klitsie
01/11/2022, 8:51 AMdarkmoon_uk
01/12/2022, 2:19 AMOvsyannikov Alexey
01/13/2022, 12:55 PMe: java.lang.AssertionError: No such value argument slot in IrCallImpl: 6 (total=6).
Symbol: dev.inmo.jsuikit.elements/TextField|2280372978393256425[0]
I am looking for compose web module (which is depend on core) and trying to find differences with my project, but can't find any. Can anybody help me to understand what is wrong?Ovsyannikov Alexey
01/13/2022, 12:55 PMe: java.lang.AssertionError: No such value argument slot in IrCallImpl: 6 (total=6).
Symbol: dev.inmo.jsuikit.elements/TextField|2280372978393256425[0]
I am looking for compose web module (which is depend on core) and trying to find differences with my project, but can't find any. Can anybody help me to understand what is wrong?Oleksandr Karpovich [JB]
01/13/2022, 3:37 PM