A component that talks to a REST API is easy to test. You mock the HTTP call, resolve it with fixture data, assert on the render. A component that talks to a WebSocket is a different animal, and most
React.js Frontend Web Developer | Next.js Specialist
3 years of experience building production SaaS platforms, enterprise web apps, and cross-platform mobile apps using React.js, Next.js, and TypeScript.
Markdown supported · ⌘↵ to post
No responses yet.