With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →
Mock-requests Alternatives
Similar projects and alternatives to mock-requests
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
react-query
Discontinued 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
-
Recoil
Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
stitches
[Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.
-
Snowpack
Discontinued ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack] (by withastro)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
mock-requests reviews and mentions
-
What libraries do you use to mock API calls in a React app?
I wrote mock-requests before MSW came out. It was, to my knowledge, the first dev-friendly mocking library out there that didn't involve setting up a separate server yet still allowed dynamic responses. Since MSW came out, I still think mock-requests has a better and simpler API but MSW allows you to see the network request in the browser's dev tools which is super nice IMO.
-
How to mock the return value of an rtk query hook?
I'd mock the network responses from the source. Others already mentioned MSW, but I personally like mock-requests better. I don't need to use a complex config nor chained methods, I still get dynamic responses based on request payload, and I can mock the entire app's requests in a single config object (harking back to not needing complex configuration logic or chained methods).
-
Mocking Axios in Jest when not using shortcut methods?
The companies I worked at were using mock-requests to help them with this and it greatly simplified their testing environment. A single call in a test-setup file meant all network calls for all flows were suddenly mocked and accessible for both unit testing and development when servers were down. I'd highly recommend checking it out!
-
What are the new and exciting tech for React projects for 2022?
Feel free to check out the in-depth ReadMe, install, see the JSDoc, source code, or check out the React demo.
-
A note from our sponsor - SurveyJS
surveyjs.io | 29 Apr 2024
Stats
D-Pow/mock-requests is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of mock-requests is JavaScript.
Sponsored