Skip to content

Infinite loop #2298

Closed Answered by posva
oswaldofreitas asked this question in Help and Questions
Discussion options

You must be logged in to vote

In this case, it's a bit different. The manipulation of params is incorrect. Here is a fixed version.

  • You need to use route names in order to be able to change a route based on the params
  • Spread the whole route instead of using json copy. Some properties are intentionally not enumerable to avoid being copying when using regular methods like spread, assign, Object.keys, etc

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2297 on July 08, 2024 19:35.