You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on my frontend, I want to be able to see the UI I have made for when the GraphQL query/mutation is loading to check it is done properly and the UX is good, or even just to show to my clients the UX in mocked mode.
For now I have to set breakpoints, but it is hardly usable.
An option to "delay" the MockedProvider response by a constant time (responseDelay: 1000) for all queries would help that.
The text was updated successfully, but these errors were encountered:
Unfortunately its not well documented but mocked responses accept a delay option that allows you to specify the number of milliseconds the mocked response should wait before "sending" that response. You can use it as such:
When working on my frontend, I want to be able to see the UI I have made for when the GraphQL query/mutation is loading to check it is done properly and the UX is good, or even just to show to my clients the UX in mocked mode.
For now I have to set breakpoints, but it is hardly usable.
An option to "delay" the MockedProvider response by a constant time (
responseDelay: 1000
) for all queries would help that.The text was updated successfully, but these errors were encountered: