5 ms·
Reagent – JavaScript Testing Utilities for React
- pacomerh 11y agoNot to be confused with Reagent for Clojurescript
- droidist2 11y agoHopefully I'll be able to use Reagent with Reagent.
- xemoka 11y agoFor this very reason they've opened an issue to rename the project: https://github.com/airbnb/reagent/issues/46 https://github.com/airbnb/reagent/issues/46
- escherize 11y agoThat issue was a bit of a dramatic situation. Looks like the made the right descision though. Good for them!
- jbeja 11y agoChange the name.
- jiyinyiyong 11y agoI love ClojureScript, it looks even more neat than React: (defn simple-component [] [:div [:p "I am a component!"] [:p.someclass "I have " [:strong "bold"] [:span {:style {:color "red"}} " and red "] "text."]])
- Ronsenshi 11y agoQuite a subjective opinion. To me looks very far from "neat".
- divs1210 11y agoCompare with equivalent JS/JSX and you'll see what 'neat' means in this context.
- insin 11y agoThey both look neat to me. let SimpleComponent = () => <div> <p>I am a component!</p> <p className="someClass"> I have <strong>bold</strong> <span style={{color: 'red'}}>and red</span> text. </p> </div> Not having to manage commas all the time is a strong point of both vs. what we were doing with nested JavaScript objects/arrays/function calls before JSX.