Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you writing tests for these views? Any lessons learned?


Not currently. Our frontend testing is extremely sparse at the moment. (We're working on making it better.)

That said, React components are naturally small and reusable and so should lend themselves nicely to unit testing. Even though I don't think it's particularly limiting now, more robust infrastructure to support testing is a future goal for the React team.




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

Search: