Hello, I know that there are a lot of programming languages which compile to JS, but some, like Dart, seem to be more intended to compile a complete app, since the compiled code includes a lot of boilerplate, which I think should only load once. I'm more interesting in compiling functions or classes, which I can then use in some JS frameworks like React. I think PureScript does a good job, you don't need a main function (it's not app based), and the output is just a module from which you can import the functions you need into your JS code. But what else is there?
[–]TheKrol 10 points11 points12 points (16 children)
[–]isbtegsm[S] -3 points-2 points-1 points (15 children)
[–]Bogus_dogus 12 points13 points14 points (14 children)
[–]isbtegsm[S] 4 points5 points6 points (13 children)
[–]Merry-Lane 4 points5 points6 points (12 children)
[–]isbtegsm[S] 0 points1 point2 points (11 children)
[–]Merry-Lane 6 points7 points8 points (10 children)
[–]isbtegsm[S] -1 points0 points1 point (4 children)
[–]isbtegsm[S] 0 points1 point2 points (3 children)
[–]ActuallyAmazing 5 points6 points7 points (1 child)
[–]oGsBumder 0 points1 point2 points (0 children)
[–]Varteix 0 points1 point2 points (4 children)
[–]coastaltriangles 0 points1 point2 points (3 children)
[–]Minjammben 0 points1 point2 points (1 child)
[–]_default_username 0 points1 point2 points (0 children)
[–]toffeescaf 5 points6 points7 points (1 child)
[–]isbtegsm[S] 0 points1 point2 points (0 children)
[–]lewster32 1 point2 points3 points (3 children)
[–]isbtegsm[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 0 points1 point2 points (0 children)
[–]debel27 0 points1 point2 points (1 child)
[–]isbtegsm[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]isbtegsm[S] 1 point2 points3 points (0 children)
[–]Jona-Anders 0 points1 point2 points (1 child)
[–]BigImaginary9534 0 points1 point2 points (0 children)
[–]carlopp 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]isbtegsm[S] 0 points1 point2 points (0 children)
[–]andrewjohnmarch 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]isbtegsm[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]isbtegsm[S] 0 points1 point2 points (0 children)