@maaretp For a reading group, I'd suggest focusing on Chapter 1-8, which is all the major theory (including component mocks). If you make it that far, do Chapter 17-19 next.
@labrocadabro@jweiit Hi! Thanks for the mention 😊 The 2nd edition of Mastering React Test-Driven Development is due for publication next week. A bit more info on it here: https://t.co/YHPmxKNPI8
@gregwolanski I don't - it's too much on-screen distraction for me, with tests running on every single autosave. My workflow is write a bunch of code, then a few quick keystrokes to switch to my terminal and run tests (which usually means hitting the up cursor key to run the last command).
@ChristophGockel Hello my friend! I had a quick look at the gist. Question 1: are you sure the first example runs without a warning? I would have expected it to moan at you because you've caused a state update without using act.
@ichronologic Yeah, you’re right. Thanks for pointing this out. IIRC there are a few errors like that in chapter 2/3. Those chapters were a bit of an editing nightmare as I originally wrote the code samples with class components. And then hooks happened, which prompted a rushed re-write.
@PurpleBooth Oh that’s super annoying! My fav strategy for dealing with it is to start at the bottom of the test and gradually comment out lines until the warnings disappear. Doesn’t require much brain power.
@rorycawley All good ideas. Keeping the hair salon app & ditching the logo interpreter would give me the space I’d need for extra topics. Authentication/authorisation could be a whole book by itself... I’ll give that some thought.
@rorycawley Yeah, I’m with you on the pure TDD aspect, so I think I’d rather remove content than add anything further. It’s just not obvious what to cut.