r/programming • u/jjperezaguinaga • Oct 03 '16
How it feels to learn Javascript in 2016 [x-post from /r/javascript]
https://medium.com/@jjperezaguinaga/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.758uh588b
3.5k
Upvotes
r/programming • u/jjperezaguinaga • Oct 03 '16
10
u/yogthos Oct 03 '16 edited Oct 04 '16
I recently open sourced a Clojure/Script app my team uses internally. Might be useful as a reference. My team has been working with ClojureScript for about a year now, and it's been a great experience.
Only things you need to get running are a copy of the JDK and Leiningen. ClojureScript has some really nice tooling such as Figwheel that does hot code loading in the browser. We're using the Reagent library that's based on React and it's been working very well for us especially coupled with re-frame.
All you need to get started once you have the JDK and Leiningen installed is the following:
This will create a new project using the reagent-frontend-template. You can now navigate to the project and run the incremental compiler:
Then open up
public/index.htmlto see the rendered page. You can now edit the code insrc/myapp/core.cljsand see the changes live on the page.