What kind issues did you have?
# javascript
g
What kind issues did you have?
a
@gildor the main issue was lack of examples and proper documentation it might be easy to set things up for frontend-dev who knows about webpack/babel and other things, but not for mobile developer
I will need to dig out my pet project, because I basically set things up, took me a few evenings, tried writing some code and came to a conclusion that it will be just much faster and easier to work with ES6 directly
I’ll try to find a project and remember why exactly
n
Webpack and Babel aren't needed in order to get a basic Kotlin JS project setup.
Here is a unorthodox Kotlin JS example from a excellent article on developing a Firefox extension: https://medium.com/@Cypressious/your-first-firefox-web-extension-in-kotlin-348fc907915 Note how the setup is very simple, and doesn't require Webpack/Babel simple smile ✔️
Kotlin JS only supports ES 5 although there are plans to add support for ES 6. Babel is only compatible with JS.
a
Any examples for pure NodeJS development?
a
Thanks I think I will make another try to write JS with Kotlin and try to write down all pain points
As I said, last time I spent a few evenings for my new pet project and decided to just stay on ES
Don’t remember the exact reason, unfortunately. Something with interoperability, I think
and use of other JS libraries in Kotlin
b
Ok, don’t hesitate to ask any question next time. We’ll try to help.