rossipedia
rossipedia
From @ryanflorence's [comment](https://discord.com/channels/770287896669978684/771068344320786452/962930725542305822) in Discord: > **ryanflorence — Today at 9:59 PM** > nah, useActionData() is a singleton, it's available in any route useActionData should return the data that was...
When using a string as the first argument to `fetch()`, all is well. When passing a `new URL()` instance, an error is thrown.
## Purpose: Returns the _inverse_ of the parser that is passed. For example: ```ts // accepts anything _except_ a `string`. z.not(z.string()) // accepts any string that _isn't_ an email z.string().not(z.string().email());...
A pattern that I see (and have used) a lot is to define methods on `handle` that accept the current `match`. Since this is invoked from a parent route, there's...
### Version Number 7.54.2 ### Codesandbox/Expo snack https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgVwM4FMBi0QGEIB2M6AHjADQoabDoA2AJgIJRQCGAnnAL5wBmUCCDgByKOjYBjGAFoAFhAgBrGXxwiA3ACgtDdJLptxcSYVTw+tRgEkCekgC44BZCABG6KNq2mC5xCaEMIJ0PHAAvFRYOPhEpDAAPAhacKnObCDoTuZQwAQA5tppJnLAjOIETsnFqYYedNnBeYUpNfnsdpKl5eiVAQQZWXA5zTwA2gC6RW0dDF1lDBUAcoOojbkFk9Op3Fta3AB8ABQAlN5aaFhWzKycR9VpA5lOAAbzPQQv5K2pvsEQdG+3DOOkuNHoN3YHHu6WecDe3UWvQAdAASBCWCG2ezcZHtNidREVL6BIghHggsHXFhQmFPIYIhYVNEY67Y0i4-GEpm9FaZVAkv7k4HnIA ### Steps to reproduce No steps necessary, you can see that the code in question produces a TypeScript error when using an...
This was a crazy rabbit-hole. ## TL;DR: The responses cloned here: https://github.com/mswjs/interceptors/blob/77141e2f51b85830dca632d5026177639627987c/src/interceptors/fetch/index.ts#L161-L169 Create issues in the event that the `body` of the original `response` is cancelled with `response.body.cancel()`, if those...
### Reproduction Open the reproduction repository in Stackblitz: https://stackblitz.com/~/github.com/rossipedia/rr-fetcher-redirect-revalidate 1. Click on "Go to form" link 2. Click on "Submit with Form" 3. Observe a new ID is appended to...
### I'm using React Router as a... framework, SSR-enabled ### Reproduction Unfortunately I have not been able to create a minimal reproduction. The only place I see this is in...