3 ms·
Yes, this is great feedback and we'll definitely introduce testing, to some degree, earlier than chapter 12. That chapter will be an in-depth guide to unit tes
by jashmenn 11y ago
Yes, this is great feedback and we'll definitely introduce testing, to some degree, earlier than chapter 12.
That chapter will be an in-depth guide to unit testing React generally, but we'll introduce testing some of the example code in other chapters earlier in the book.
- afarrell 11y agoI think the ideal would be introducing testing toward the beginning (perhaps after you give them the initial basic mental model) so that someone has a recommendation for the testing library they should use which will work for the rest of the book. Then, every so often when you notice that something is hard to test, have a sidebar to help them along. This does kinda eliminate having a chapter on it though, unless you have something how to migrate from legacy frontend code to react/redux (which actually would be pretty valuable, though it sounds like a tall order to me).