FabioCornelli
10/31/2024, 3:17 PM@JSExport
to classes / declarations i'd like to use from the JS react app.
My questions are:
• what is the recommended way to use kotlin JS libraries in a pure JS react app?
• Should i publish LibFoo and LibBar as separate npm packages and install them separately? can this approach cause any runtime issues? like for example std-lib / other common dependencies included multiple times with potentially different versions?
• Should i have an "umbrella" kotlin multiplatform gradle project alongside the react JS that export all the declaration needed by the JS app? is there any mechanism similar to export
for iOS binary that export all the declarations marked with @JSExport
of a kotlinJS lib from gradle to JS ?
• Are there other options? are there any example available?
thanks in advance for any help you can provide