Examples of Mock Service Worker usage with various frameworks and libraries. (by mswjs)

Examples Alternatives

Similar projects and alternatives to examples based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better examples alternative or higher similarity.

Suggest an alternative to examples

Reviews and mentions

Posts with mentions or reviews of examples. We have used some of these posts to build our list of alternatives and similar projects.
  • How we use Apollo to manage GraphQL data in our React Typescript application
    1 project | reddit.com/r/reactjs | 27 Apr 2021
    Did you evaluate mock-service-worker? It's a good solution to mocking API requests. When it executes in the browser it uses a service worker to intercept requests, and when it executes in node (e.g. unit tests) it patches the http.Request methods to effectively do the same. Here's an example for mocking Apollo: https://github.com/mswjs/examples/tree/master/examples/graphql-react-apollo
  • Beginners Thread Easy Questions February 2021
    1 project | reddit.com/r/reactjs | 18 Feb 2021
    I use https://mswjs.io/, here is also an example project that can become handy: https://github.com/mswjs/examples/tree/master/examples/graphql-react-apollo . Reading this article could also help: https://kentcdodds.com/blog/stop-mocking-fetch


Basic examples repo stats
4 months ago

Popular Comparisons

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 15 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.