Re:Successfully adopting React in your company
by marinintim on Thursday September 15, 2016 @06:34PM
(#12510422)
How do you test presentation components, by comparing with some "ideal" result?
[ Parent
| on HN ]
Re:Successfully adopting React in your company
by avitzurel on Thursday September 15, 2016 @06:38PM
(#12510447)
Blank state, loading state... Making sure both of these work for the component (if needed).
Top X items and no more being rendered.
If there's a presentation logic like Red/Green for some number using Css classes, I will test that one out as well.
Stuff like that.