-
-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add react-router-with-query experimental package
- Loading branch information
1 parent
bf52d5a
commit 23614fa
Showing
21 changed files
with
455 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<img src="https://static.scarf.sh/a.png?x-pxid=d988eb79-b0fc-4a2b-8514-6a1ab932d188" /> | ||
|
||
# TanStack React Router | ||
|
||
![TanStack Router Header](https://github.com/tanstack/router/raw/main/media/header.png) | ||
|
||
🤖 Type-safe router w/ built-in caching & URL state management for React! | ||
|
||
<a href="https://twitter.com/intent/tweet?button_hashtag=TanStack" target="\_parent"> | ||
<img alt="#TanStack" src="https://img.shields.io/twitter/url?color=%2308a0e9&label=%23TanStack&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack"> | ||
</a><a href="https://discord.com/invite/WrRKjPJ" target="\_parent"> | ||
<img alt="" src="https://img.shields.io/badge/Discord-TanStack-%235865F2" /> | ||
</a><a href="https://npmjs.com/package/@tanstack/react-router" target="\_parent"> | ||
<img alt="" src="https://img.shields.io/npm/dm/@tanstack/router.svg" /> | ||
</a><a href="https://bundlephobia.com/result?p=@tanstack/react-router" target="\_parent"> | ||
<img alt="" src="https://badgen.net/bundlephobia/minzip/@tanstack/react-router" /> | ||
</a><a href="#badge"> | ||
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg"> | ||
</a><a href="https://github.com/tanstack/router/discussions"> | ||
<img alt="Join the discussion on Github" src="https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue" /> | ||
</a><a href="https://bestofjs.org/projects/router"><img alt="Best of JS" src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=tanstack%2Frouter%26since=daily" /></a><a href="https://github.com/tanstack/router" target="\_parent"> | ||
<img alt="" src="https://img.shields.io/github/stars/tanstack/router.svg?style=social&label=Star" /> | ||
</a><a href="https://twitter.com/tan_stack" target="\_parent"> | ||
<img alt="" src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social&label=Follow @TanStack" /> | ||
</a><a href="https://twitter.com/tannerlinsley" target="\_parent"> | ||
<img alt="" src="https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social&label=Follow @TannerLinsley" /> | ||
</a> | ||
|
||
Enjoy this library? Try the entire [TanStack](https://tanstack.com)! [React Query](https://github.com/tannerlinsley/react-query), [React Table](https://github.com/tanstack/react-table), [React Charts](https://github.com/tannerlinsley/react-charts), [React Virtual](https://github.com/tannerlinsley/react-virtual) | ||
|
||
## Visit [tanstack.com/router](https://tanstack.com/router) for docs, guides, API and more! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// @ts-check | ||
|
||
import pluginReact from '@eslint-react/eslint-plugin' | ||
import pluginReactHooks from 'eslint-plugin-react-hooks' | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [ | ||
...rootConfig, | ||
{ | ||
files: ['**/*.{ts,tsx}'], | ||
...pluginReact.configs.recommended, | ||
}, | ||
{ | ||
plugins: { | ||
'react-hooks': pluginReactHooks, | ||
}, | ||
rules: { | ||
'@eslint-react/no-unstable-context-value': 'off', | ||
'@eslint-react/no-unstable-default-props': 'off', | ||
'@eslint-react/dom/no-missing-button-type': 'off', | ||
'react-hooks/exhaustive-deps': 'error', | ||
'react-hooks/rules-of-hooks': 'error', | ||
}, | ||
}, | ||
{ | ||
files: ['**/__tests__/**'], | ||
rules: { | ||
'ts/no-unnecessary-condition': 'off', | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"name": "@tanstack/react-router-with-query", | ||
"version": "1.43.2", | ||
"description": "", | ||
"author": "Tanner Linsley", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/TanStack/router.git", | ||
"directory": "packages/react-router" | ||
}, | ||
"homepage": "https://tanstack.com/router", | ||
"funding": { | ||
"type": "github", | ||
"url": "https://github.com/sponsors/tannerlinsley" | ||
}, | ||
"type": "module", | ||
"types": "dist/esm/index.d.ts", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.js", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.cts", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"clean": "rimraf ./dist && rimraf ./coverage", | ||
"test:eslint": "eslint ./src", | ||
"test:types": "tsc --noEmit", | ||
"test:unit": "vitest", | ||
"test:unit:dev": "pnpm run test:unit --watch", | ||
"test:build": "publint --strict", | ||
"build": "vite build" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"location", | ||
"router", | ||
"routing", | ||
"async", | ||
"async router", | ||
"typescript" | ||
], | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"react": ">=18", | ||
"react-dom": ">=18", | ||
"@tanstack/react-router": "workspace:*", | ||
"@tanstack/react-query": ">=5.49.2" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=18", | ||
"react-dom": ">=18", | ||
"@tanstack/react-router": ">=1.43.2", | ||
"@tanstack/react-query": ">=5.49.2" | ||
} | ||
} |
Oops, something went wrong.