Hacker News new | past | comments | ask | show | jobs | submit login
Successfully adopting React in your company (medium.com/kensodev)
3 points by avitzurel on Sept 15, 2016 | hide | past | favorite | 2 comments



How do you test presentation components, by comparing with some "ideal" result?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: