@MultiKiter I read an article about testing processes inside google a while back. They switched naming from unit, integration, е2e and any other tests to small, medium and large ones. Probably it makes sense.
It's weird but I couldn't find any library to run unit tests inside browser environment (probably with puppeteer, playwright or anything else). Am I missed something?
@dan_abramov Trying to extract every step to a separate function. Now I prefer longer functions, if they are easy to follow, because if context switching which is costly. Especially for code review.
Haven't "reinvented the wheel" in a while. Couldn't find suitable library with api to split long-running tasks into small units with ability to abort outdated tasks, so had to write my own: https://t.co/yNNShLCJeB. Any criticism or advice are welcome.
@dan_abramov Great article! The only notice: I think using of some weird stuff like “initialSomething” in props which is supposed to be not changing over time should be avoided if we are talking of resilient components. Not “initialValue” but “value”.