Comments (1)
Currently, the router-generator
, follows pretty closely with how Remix handles filesystem routing.
I've linked some resource below, which should probably be considered before making this change.
Microsoft TFVC Restrictions
Filename restrictions - https://learn.microsoft.com/en-us/azure/devops/organizations/settings/naming-restrictions?view=azure-devops#area-and-iteration-paths
Remix
Route param - https://remix.run/docs/en/main/file-conventions/routes#dynamic-segments
Catch-all - https://remix.run/docs/en/main/file-conventions/routes#splat-routes
NextJS
Route param - https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes#convention
Catch-all - https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes#catch-all-segments
Nuxt
Route param - https://nuxt.com/docs/guide/directory-structure/pages#dynamic-routes
Catch-all - https://nuxt.com/docs/guide/directory-structure/pages#catch-all-route
SvelteKit
Route param - https://kit.svelte.dev/docs/routing#other-files
Catch-all - https://kit.svelte.dev/docs/advanced-routing#sorting
SolidStart
Route param - https://docs.solidjs.com/solid-start/building-your-application/routing#dynamic-routes
Catch-all - https://docs.solidjs.com/solid-start/building-your-application/routing#catch-all-routes
from router.
Related Issues (20)
- Undefined context in loader after redirect HOT 5
- Typing: validateSearch with z.object() and .optional().default() makes field required in navigation HOT 1
- Context is undefined in __root__ match HOT 3
- beforeLoad Redirect on initial page load not working with Preact HOT 2
- Typescript TS2322 error on router property in RouterProvider HOT 8
- Context is undefined in weird case. HOT 5
- beforeLoad doesn't get called HOT 6
- add basic setup docs on the `experimental.enableCodeSplitting` flag
- Plan for migrating to `unplugin` to make the router-plugin compatible with other bundlers HOT 8
- useMatchRoute will match `routes/about.tsx` on `routes/$var`.
- Params containing slashes break the `from` prop HOT 2
- when `trailingSlash: always` loaders do not run if the trailing-slash is not present HOT 2
- loader doesn't run after redirects HOT 2
- `basepath` breaks routing in case its being found later within path
- component remounts when state is changed in context HOT 1
- Throwing `notFound()` in loader causes infinite "pending" state HOT 5
- Throwing `notFound()` in `beforeLoad()` already shows the error during preload HOT 1
- Experimental splitting: Wrapping component in `React.memo()` causes `unexpected splitNode` error
- Experimental splitting: Using a default import for `component` crashes with `Unexpected splitNode type`
- Experimental splitting: not removing the import statement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from router.