bigskysoftware / bigskysoftware/_hyperscript

[Feature request] Updating / removing query params from the url

Abierto
#458 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3.8k
Forks
172
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi there,

Again - I want to express my ❤️ for `_hyperscript`!

One thing I'm struggling with is removing a query parameter from the url. I tried lots of things but this is what I ended up with:
```html

```

My journey started as follows:
```html

```
I just want to update the url and not navigate so according to the docs it should be possible by prepending it with a hash. However, this does not appear to be working with variables.

But how cool 😎 would the following be:
```html

```

I tried a lot of the combinations above but none worked so I assume this is not implemented.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza rastreando el comportamiento documentado de `go to url`, especialmente las URL basadas en variables, y compáralo con el ejemplo de `window.history.pushState` del issue. Define una forma compatible de actualizar o eliminar parámetros de consulta sin navegación, incluida la eliminación solicitada de `view`, y verifica que el comportamiento esté documentado y cubierto por ejemplos o pruebas.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
frontend, web-dev
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.