Join Slack
Powered by
Does anyone know why this isn’t working? ```implem...
# javascript
s
spierce7
02/28/2020, 5:32 AM
Does anyone know why this isn’t working?
Copy code
implementation(npm("@jetbrains/kotlin-react"))
i
Ilya Goncharov [JB]
02/28/2020, 6:18 AM
Better to declare Kotlin dependencies via Bintray dependencies not npm (
https://bintray.com/kotlin/kotlin-js-wrappers/kotlin-react
) Additionally you need declare react and react-dom Here sample with react setup sample
https://github.com/ilgonmic/full-js-wizard
s
spierce7
02/28/2020, 4:17 PM
I assumed react-dom isn’t necessary since react-native uses a different dom. I also assumed that kotlin-react would have dependencies on those.
3
Views
Open in Slack
Previous
Next