Live data from Hacker News

JetBrains Web UI components open-sourced

blog.jetbrains.com

41–50 of 96 posts

Re: JetBrains Web UI components open-sourced

#42
post #35

Earlier quoted context omitted.

Actually the javascript target has been fully supported since version 1.1. For example here is a single page app written with kotlin: https://github.com/rnentjes/simple-password-manager

How efficient is the conversion performance-wise and code-length wise? Can I finally get rid of GWT if I want to develop web apps with JVM tooling? Is the debug mapping between JS variables and JVM variables better than with GWT and super dev mode? Is it easy to use Kotlin with ReactVR/Native?

With the 1.1.4 version they have added a dead code eliminator which really helps with the resulting javascript length. In the example above the resulting javascript file is 440 KB (zipped 113 KB). Which is not bad if you take into account that the included libraries are more than 2MB (the standard library and static html builders being the biggest ones).

I haven't measured runtime performance, but I haven't noticed anything being slower than plain javascript yet. A clean compile in this example takes ~8 second, incremental compiles takes 3-4 seconds.

The jvm doesn't play a role when targeting javascript so I am not sure what you mean with JVM variables and I don't know much about GWT. But you can debug the resulting javascript from intellij and step through the kotlin sources if you want.

I don't know how easy it is to integrate with react.

Re: JetBrains Web UI components open-sourced

#43
I would recommend CxJS to people looking for advanced data widgets, e.g. data tables, date pickers, charts, ...

Here are a couple of sample pages based on CxJS widgets:

- https://worldoscope.cxjs.io/4v5b3k2

- https://starter.cxjs.io/dashboards/sales

Full disclosure: It's a commercial framework, I'm the author.

https://cxjs.io/

https://github.com/codaxy/cxjs

Re: JetBrains Web UI components open-sourced

#46
post #26
post #2

It's under the Apache License and the components look pretty good. I particularly like the Date Picker: http://www.jetbrains.org/ring-ui/date-picker.html

Didn't like it. It is difficult to select an old year with the mouse. Mobile would be better since you would use the finger.

Why are you being downvoted for expressing an opinion?

Re: JetBrains Web UI components open-sourced

#48
post #37

JetBrains is kinda crushing it. I've spent the last two days looking into Kotlin. I didn't realize not only that Kotlin can compile to JS but also that you can interact with say React from it. So you can build a full stack app in it, without ever touching JS. (I think that the JS compilation is still technically in beta but w/e). https://github.com/Kotlin/kotlin-fullstack-sample Combined with the fact that you can us…

I am not sure if you can use the coroutines in javascript, but if you can you don't need React at all

You can use coroutines with Kotlin JS. Your sentence doesn't really make sense to me though since coroutines and React have very little to do with each other.

Re: JetBrains Web UI components open-sourced

#49
post #12

I hope JetBrains or others launch a Web UI Designer that doesn't make you miss Visual Basic 6.0.

We're trying! ( https://anvil.works ) The problem with making a WYSIWYG designer for the web is that it's a Turing tarpit. There are three whole programming languages in there, interacting in weird ways, and programmers use all of them. So your UI designer has to either create something horrible that no human is expected to edit, which doesn't work for dynamic apps (see: Dreamweaver), or you have to constrain what th…

Is there a blog post out there on the reasoning behind choosing Python instead of JavaScript for that component model + API? Just seems odd to add a 4th language to the mix.

Re: JetBrains Web UI components open-sourced

#50

JetBrains is kinda crushing it. I've spent the last two days looking into Kotlin. I didn't realize not only that Kotlin can compile to JS but also that you can interact with say React from it. So you can build a full stack app in it, without ever touching JS. (I think that the JS compilation is still technically in beta but w/e). https://github.com/Kotlin/kotlin-fullstack-sample Combined with the fact that you can us…

Buying my first Mac in over 10 years to learn iOS development is on my bucket list. I also wanted to use it to play with .Net Core on a Unix environment. I'll gladly give JetBrains more money than I do now for Resharper to use Rider (cross platform C# IDE) and all of their other tools.

Rider Release Candidate is still free atm too!
Post reply on HN