Re:A deep dive into ClojureScript reagent
by TheSmoke on Thursday January 12, 2017 @02:50AM
(#13380557)
here is my experience:
- creating a project from scratch is easy: lein new reagent-frontend my-project. it creates a project from reagent-frontend template. you can build your app with lein cljsbuild auto or build a production build with lein release.
- build time significantly drops, even with advanced optimizations, comparing to webpack.
- both component and app state management becomes a lot easier thanks to reagent atoms.
- not much of a big deal but hiccup templates make inline styling easier.
- creating a project from scratch is easy: lein new reagent-frontend my-project. it creates a project from reagent-frontend template. you can build your app with lein cljsbuild auto or build a production build with lein release.
- build time significantly drops, even with advanced optimizations, comparing to webpack.
- both component and app state management becomes a lot easier thanks to reagent atoms.
- not much of a big deal but hiccup templates make inline styling easier.
- you get figwheel! [0] [1]
[0] https://github.com/bhauman/lein-figwheel/ [1] https://www.youtube.com/watch?v=j-kj2qwJa_E