Skip to content

v3.0.0-rc.4

Pre-release
Pre-release

Choose a tag to compare

@stevensacks stevensacks released this 14 Oct 05:52
· 25 commits to main since this release
2d4b3cb

Minor Changes

  • #63 f58c5ff Thanks @stevensacks! - Added: reactRouter now carries no-imperative-query-fetch/no-imperative-query-fetch, on by default for every TypeScript file under the source dir. It bans ensureQueryData, fetchQuery, prefetchQuery and their infinite variants, so a route has one fetch idiom: queryClient.query awaited in a clientLoader, read with useSuspenseQuery. reactRouter now follows sourceDir. Fix any reported call by moving the fetch into the clientLoader.

    Changed: import-x/no-unresolved ignores ^virtual: imports, so Vite plugin virtual modules such as virtual:msw resolve, and checks case and CommonJS require. Under the source dir it now also covers *.test.* and *.stories.* files, where an unresolved import is the same defect. A project that carried a local no-unresolved override for either reason can delete it.