Re:Khan Academy moving to React.js + Backbone
by heme on Tuesday October 29, 2013 @12:27AM
(#6632028)
Are you writing tests for these views? Any lessons learned?
[ Parent
| on HN ]
Re:Khan Academy moving to React.js + Backbone
by spicyj on Tuesday October 29, 2013 @12:38AM
(#6632060)
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.