Jim
10/25/2021, 10:47 PMexternal interface vs a regular interface - does anyone have any thoughts on this?hfhbd
10/25/2021, 10:54 PMexternal interface is for "external" plain JS code only, eg a 3rd plain JS library, you want to use in Kotlin/JS.Jim
10/25/2021, 11:02 PMhfhbd
10/25/2021, 11:07 PM@JSExport. Otherwise you can use external interface (or even better use typescript) and consume it in Kotlin/JS.Jim
10/26/2021, 4:52 PMinterface Dog { 
  abstract val name: String
}
js:
interface RenderDogsListProps : RProps {
    val dogs: Set<Dog>
}Jim
10/26/2021, 4:52 PMDog with @JSExport?