3 ms·
I like the idea of React. I like it even more when you take out all the frills and boilerplate. If you haven't already, I would encourage you to give Clojurescr
by bschwindHN 11y ago
I like the idea of React. I like it even more when you take out all the frills and boilerplate. If you haven't already, I would encourage you to give Clojurescript and Reagent a try:
https://reagent-project.github.io https://reagent-project.github.io
I decided to use it for a small client for a chat server my company runs. The initial environment setup on OS X wasn't the smoothest, but once I got that taken care of the actual development was very pleasing and quick. You need to know just a few core concepts and then you can more or less replicate the common patterns you use in React - application state, component properties, local component state, initial values for local state, etc.
Along with that, you get immutable data structures and the benefits of the Google Closure Compiler out of the box. Give it a shot!
- dm3 11y agoIf you're ready to check out Clojurescript, I strongly recommend trying out Hoplon: https://github.com/hoplon/hoplon https://github.com/hoplon/hoplon It requires a certain shift in thinking when coming from pretty much any other framework. However, it avoids all of the unnecessary complexities of React by exposing the DOM elements directly as functions. The mindshare behind it might be low compared to Om or Reagent, but the people that are using it are pretty active at Clojurians slack channel #hoplon and on IRC (freenode, #hoplon). It's also FRP-based and pretty efficient. Highly recommend!