News for hackers. Stuff that matters.
Re:Angular 2 Fundamentals Course by yogthos on Friday July 29, 2016 @04:20PM (#12189673)
Honestly, the fact that people put up with this in Js ecosystem amazes me to no end. I've been working with ClojureScript on the front-end for the past year, and it's just night and day.

There's a single build tool (http://leiningen.org/), and it manages dependencies, tests, builds, etc. Things just work.

Setting up a new project is as simple as:

lein new reagent-frontend myapp

I can go and start developing it by running

lein figwheel

After it starts I can open the browser at localhost:3449 and any changes I make in the source will be immediately reflected. Once I want to package for release I just do:

lein clean lein release

That's it, I now have minified and pruned Js file that's ready for production.

Re:Angular 2 Fundamentals Course by danabramov on Wednesday August 03, 2016 @07:19AM (#12217157)
This is pretty much what we’re doing with Create React App.

    npm i -g create-react-app
    create-react-app my-app
    cd my-app
    npm start # start devserver
    npm run build # build for production
Re:Angular 2 Fundamentals Course by yogthos on Friday August 05, 2016 @04:01PM (#12235357)
Sure, but how do you go about doing things like managing dependencies, doing hot code loading, running tests, and so on?
Re:Angular 2 Fundamentals Course by cheez on Saturday July 30, 2016 @10:38PM (#12195489)
CLJS is just a language.
Re:Angular 2 Fundamentals Course by yogthos on Friday August 05, 2016 @04:00PM (#12235347)
It's really much more than that. There's an ecosystem around ClojureScript that's completely separate from Js, and I find the CLJS ecosystem to be far better in many respects.