Laurent Laborde
09/05/2022, 3:25 PMTom Yuval
09/08/2022, 2:12 PMmbonnin
09/11/2022, 5:53 PMlanguageVersion=1.5
?patrickdelconte
09/12/2022, 8:41 AMRobert Jaros
09/12/2022, 3:47 PMepool
09/12/2022, 6:19 PMSomeLibrary
) instead of the base name from js(IR) { moduleName = "some-library" ... }
and when I want to publish to npm I’m getting this error npm ERR! 400 Bad Request - PUT <https://registry.npmjs.org/SomeLibrary> - "SomeLibrary" is invalid for new packages
where I would expect to publish it with the moduleName
I defined form the js gradle block. A “workaround” was to rename my module to SomeLibrary
to some-library
but since I’m also targeting iOS I need to have it like SomeLibrary
since iOS doesn’t support names like some-library
. Thank you in advance!Nick
09/15/2022, 3:54 PMio.nacular.doodle.layout.constraints
package.
Form Controls
• New singleChoiceList
for choosing a single item like radioList
offers
• New optionalSingleChoiceList
for choosing zero or one item like optionalRadioList
offers
Better render performancemartmists
09/16/2022, 6:39 PMturansky
09/17/2022, 11:47 AMandylamax
09/18/2022, 2:22 AMCollection
and MutableCollection
interfaces
• The List
and MutableList
interfaces
• The Set
and MutableSet
interfaces
• The Map
and MutableMap
interfaces
1. The collections are not marked with @JsExport
making their consumption from JS/TS extremely difficult
2. There is no easy way to convert an instance of either of these collections to their native collection counterpart data structures (List
-> Array
,Set
,Map
)
We are currently wrapping these Collections to make them easy to use, but it feels inconvenient to have yet another wrapping of these basic building blocks of almost any library/application. We have expect/actuals in place so that we only do the wrapping in JS targets but that does require different builders to construct the said collections. This is very confusing especially for people joining the team
We tried using Array
in favor of List
but they don't play well as properties for data classes.
I know the team is currently focused on the compiler right now, but I would like to shed light one more time on how little things like these are also a crucial part of a language (at least its standard library).martmists
09/18/2022, 4:25 PMdecky-frontend-lib
) but I'm strugging a bit as there's a lot of types that don't seem to exist in Kotlin like RouteProps, Omit, etc. How would I approach this? I already went ahead and replaced all instances of JSX.Element
with ReactElement<*>
Keith Miller
09/18/2022, 5:24 PMkotlin-mui
wrapper and noticing that component
is missing as a prop on some components. Was hoping to be able to set the component
to react.router.dom.Link
to use with the router. Was wondering if there was a work around possibly?Joshua Hansen
09/18/2022, 8:54 PMZaki Shaikh
09/19/2022, 2:37 AMJoshua Hansen
09/19/2022, 7:41 AMexternal fun highOrderFoo(bar: (dynamic) -> dynamic): Promise<Json>
But what if bar
is a function that takes multiple params?bashor
09/19/2022, 4:56 PMgeorgi
09/20/2022, 7:24 AMimplementation
currently the same as api
on KotlinJS using the IR compiler?
Documentation says standard gradle dependency declarations are supported.
Example: I have 3 modules with the following dependency graph: appJs
-> modulea
-> moduleb
, where I use implementation
for linking between the modules. So modulea
declares implementation(project(":moduleb"))
. However, I can still access code within mobuleb
from appJs
which means that it's being leaked.martmists
09/20/2022, 10:14 PMPHondogo
09/23/2022, 7:44 AMJoshua Hansen
09/23/2022, 8:13 AMval data = getData().await().asDynamic()
val someJsonProp = data.propName as Int
Or is there a better way?Nathan Tamez
09/23/2022, 11:04 AMPHondogo
09/23/2022, 8:18 PMKristian Nedrevold
09/24/2022, 5:52 PMMoussa
09/25/2022, 5:12 AMjsTest
Gradle command running on a unit test function that does a lot of math operations and it pass in all other platforms except JS (Browser & NodeJS)Big Chungus
09/26/2022, 9:39 AMMoussa
09/26/2022, 11:33 AM.gradle/nodejs/node-v16.13.0-darwin-arm64/bin/node' exited with errors (exit code: 1)
Mircia George
09/28/2022, 10:47 AMMircia George
09/28/2022, 10:49 AMMircia George
09/28/2022, 10:49 AMMircia George
09/28/2022, 6:19 PMMircia George
09/28/2022, 6:19 PMBig Chungus
09/28/2022, 10:18 PMMircia George
09/29/2022, 5:14 PMBig Chungus
09/29/2022, 5:18 PM