-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
A-yew-routerArea: The yew-router crateArea: The yew-router crateA-yew-router-macroArea: The yew-router-macro crateArea: The yew-router-macro cratebug
Description
Problem
yew_router::attach_route_listener Event listener provides previuos route isntead of current
Originally noticed in #2109
Steps To Reproduce
Steps to reproduce the behavior:
Use this repo: https://github.com/voidpumpkin/yew-playground/tree/stale-agents
Everytime you click a link, console shows got X and X is previous route instead of current
Expected behavior
expected to get current route
Environment:
- Yew version: [
master] - Rust version: [
1.55] - Target, if relevant: -
- Build tool, if relevant: -
- OS, if relevant: -
- Browser and version, if relevant: -
Questionnaire
- I'm interested in fixing this myself but don't know where to start
- I would like to fix and I have a solution
- I don't have time to fix this right now, but maybe later
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-yew-routerArea: The yew-router crateArea: The yew-router crateA-yew-router-macroArea: The yew-router-macro crateArea: The yew-router-macro cratebug
