This will allow you to test your application in a more natural way. I had this issue where it was hard to figure out of cancel-tokens worked, spinners would disappear immediately, and overall testing felt weird.
Adding delay in DEV requests with axios
Slowing down requests, and making DEV env feel more natural
All snippets
- Playing a sound with the Web Audio API
- Authorization module in Elixir
- Auto-hide Phoenix flash messages
- Using Basic Auth middleware with Next.js
- Using Basic Auth with Remix
- Generating a base64 blurred placeholder image
- Domain Model with Zod & FP-TS
- FP-TS partition
- FP-TS ReaderTaskEither
- Nominal types
- Rate Limiter Service in Elixir
- useCopy
- useDebounce
- useNavigatorOnline
- useObservable
- usePrevious