Repository navigation
v3.0.0-rc.4
Pre-releaseMinor Changes
-
#63
f58c5ffThanks @stevensacks! - Added:reactRouternow carriesno-imperative-query-fetch/no-imperative-query-fetch, on by default for every TypeScript file under the source dir. It bansensureQueryData,fetchQuery,prefetchQueryand their infinite variants, so a route has one fetch idiom:queryClient.queryawaited in a clientLoader, read withuseSuspenseQuery.reactRouternow followssourceDir. Fix any reported call by moving the fetch into the clientLoader.Changed:
import-x/no-unresolvedignores^virtual:imports, so Vite plugin virtual modules such asvirtual:mswresolve, and checks case and CommonJSrequire. 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 localno-unresolvedoverride for either reason can delete it.