FRONTEND
Remix v0.20.1
RESUMEN
Patch Changes - Matches return decoded values for params in hostname ```ts pattern = new RoutePattern('://:subdomain.example.com/posts/:slug') url = new URL(' pattern.match(url)?.params.subdomain // Before -> 'xn--caf-dma' // After -> 'café'
Descripción Detallada
Patch Changes - Matches return decoded values for params in hostname ```ts pattern = new RoutePattern('://:subdomain.example.com/posts/:slug') url = new URL(' pattern.match(url)?.params.subdomain // Before -> 'xn--caf-dma' // After -> 'café' url = new URL(' pattern.match(url)?.params.subdomain // Before -> 'xn--1lq90i' // After -> '北京' ```
Ahora se devuelven valores decodificados para parámetros en el hostname.
- Los parámetros de subdominio en las URLs ahora se devuelven decodificados.
A quién le importa
Todos los que usen parámetros en el hostname de URLs.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Remix v0.4.8
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.18.2`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.18.2)
FRONTEND
Remix v0.1.7
### Patch Changes - Bumped `@remix-run/*` dependencies: - [`fetch-router@0.18.2`](https://github.com/remix-run/remix/releases/tag/fetch-router@0.18.2)
FRONTEND