integrations/react/webpack-5
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack React Query Webpack 5 Integration#
Checks that @tanstack/react-query and @tanstack/react-query-devtools build and type-check with webpack 5.
What it checks#
src/index.tsxrenders the app insideReact.StrictModeandQueryClientProvidertogether withReactQueryDevtools, andsrc/App.tsxreads a query withuseQuery.webpack.config.jscompilessrc/index.tsxwithbabel-loader9 and the@babel/preset-env,@babel/preset-react, and@babel/preset-typescriptpresets, and generatesindex.htmlwithhtml-webpack-plugin5.tsconfig.jsonsetsmoduleResolution: "Bundler".- CI runs the
build(webpack --mode production) andtest:types(tsc --noEmit) scripts.
To run it from the repository root:
pnpm nx run @tanstack/query-integration-react-webpack-5:buildpnpm nx run @tanstack/query-integration-react-webpack-5:test:types