This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-12
Channels
- # beginners (2)
- # boot (1)
- # cider (3)
- # cljsrn (28)
- # clojure (70)
- # clojure-russia (1)
- # clojure-spec (21)
- # clojure-uk (2)
- # clojurescript (16)
- # component (10)
- # data-science (5)
- # datomic (9)
- # emacs (5)
- # fulcro (2)
- # jobs (1)
- # juxt (1)
- # klipse (23)
- # lumo (1)
- # mount (12)
- # off-topic (4)
- # parinfer (1)
- # re-frame (20)
- # ring-swagger (2)
- # spacemacs (4)
React and Redux have so much nonsensical boilerplate
I don't appreciate you guys enough
@sandbags no, hadn't seen bulma. Thanks for the pointer
@gadfly361 @mikethompson this https://news.ycombinator.com/item?id=14987668 is the thread, there was another called Milligram mentioned as being good
then again i don't know how much effort it might be to shift, since you don't use the JS parts anyway...
IKR?
especially projects using redux thunk and projects that define actions types with "constants": const MY_ACTION = "MY_NAMESPACE.MY_ACTION"
I hate this crud....
This is more of a clojure question probably, but i have a list of maps in my app-db at key :types when i click edit on a row, i want a form to show for each row, so i want to update the map for the matching row to have :editing true.
is there a idiomatic way to change maps inside arrays inside a map? appdb {:types ({:id 1 :name "first one"}, {:id 2 :name "second one"})}
Well.. i thought of the TodoMvc example, and I guess they used an atom in the component to store the editing state. So may go that way for now. but still interested if there is a better way to do the above as far as nested structures
@stvnmllr2 (assoc-in db [:types 0 :editing] true)
? but you'll have to update by vector index instead of id.
if I could pass in overrides for class names that had the desired properties that would help