Angular and Kotlin/JS

During the latest Kotlinconf it was mentioned that JB was working to make Kotlin/JS interop better with Angular2+ (who cares about AngularJS!). Has something already been shown?

2 Likes

More likely there was mentioned Angular 2+ as one of the possible directions to evolution as well as other JS frameworks and Kotlin frameworks. We didn’t do anything special for Angular 2+ yet, but we made good progress in general by starting generating d.ts files in the new compiler backend and are going to continue.

Also, you can find more technical details in the related issue. And feel free to vote or star to get updates in the future/

Also, maybe you will be interested in pure kotlin frameworks like fritz2, vision and yested_fw.

2 Likes

As much as I’d love to jump into those frameworks, the ecosystem around Angular is too big to be easily substituted. As said in the issue you linked above, Angular would be the real deal for Kotlin/JS!

1 Like

I’ll add a shameless plug for doodle as well; if you do end up trying out pure Kotlin solutions.

1 Like

I have a library of Kotlin code from Android development that I’d like to use in an Angular project (for much the same reasons as lamba92). The code is pretty generic as it was intended to be portable.

Is there an example somewhere of how to set up an IntelliJ project with both a transpiled Kotlin->TS/JS “library” and an Angular “app”, the latter including the code from the former?