Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router Service #119

Closed
Clerijr opened this issue Mar 27, 2024 · 3 comments · Fixed by #207
Closed

Router Service #119

Clerijr opened this issue Mar 27, 2024 · 3 comments · Fixed by #207
Assignees

Comments

@Clerijr
Copy link
Contributor

Clerijr commented Mar 27, 2024

Describe the feature
Implementar serviço de roteamento cujo altera o componente de renderização de página e lida com a fila de rotas.


Use Case

O serviço deve:

  • Dar push state e alterar a rota
  • Dar pop state e alterar a rota
  • Emitir evento de troca de rota

Implementation Details
  • O serviço deve receber um objeto de configuração com key: value pairs onde a key é uma rota e o value é um componente
  • O serviço deve renderizar o componente da rota
  • O evento de troca de rota deve emitir a rota atual e a rota anterior
  • As rotas devem suportar slug parameter e query string

Additional Information
@Alecell
Copy link
Contributor

Alecell commented Mar 27, 2024

Obrigado por abrir a issue

Verifique os nossos guidelines:

@marceana
Copy link
Contributor

marceana commented Apr 3, 2024

Eu quero!!!

@marceana marceana removed their assignment Apr 5, 2024
@JonasGz
Copy link
Contributor

JonasGz commented Apr 24, 2024

Eu quero!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

4 participants