Fork me on GitHub
#reagent
<
2017-10-04
>
dfcarpenter16:10:56

How are people testing components? Any examples of using enzyme or jest with reagent? Is this possible?

dhirensr17:10:54

has anyone use react sidebar using reagent?

colbydehart17:10:51

Can I get a suggestion for a good lein template that gives me a reagent app and a clojure backend all in one project?

colbydehart17:10:20

I’ve been looking at the chestnut as well as the re-frame template with +handler

colbydehart17:10:07

Or is it usually suggested to create two repos for front and back.

reefersleep18:10:37

@colbydehart how about the reagent template? (I don’t know whether it qualifies for “good”) https://github.com/reagent-project/reagent-template

gadfly36118:10:32

Luminus template as well

dhirensr18:10:13

i have a file class.js in which i have to use toggle function

dhirensr18:10:25

classie.toggle( this, 'active' );

dhirensr18:10:43

what would be the translation in cljs?

nenadalm20:10:58

@dhirensr probably something like:

(this-as this
  (.toggle js/classie this "active"))
- https://cljs.github.io/api/cljs.core/this-as - http://cljs.info/cheatsheet/ (see "JavaScript Interop" section)