Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 209 Bytes

http-requests.md

File metadata and controls

7 lines (4 loc) · 209 Bytes

Making HTTP requests

It isn't that tricky, but I feel it is a common pain point.

Mostly jest.mock(), trigger().

Also: how to handle HTTP requests from lifecycle hooks (we could add .unmount() here).