Svelte · Middle · Question 71 of 75

What does a param matcher like [id=integer] do?

Explanation

If the matcher rejects the value, SvelteKit tries other routes, which is useful to disambiguate similar paths.

Further reading

Problem with a question

Svelte · Middle · question 71

Test yourself

Take the Svelte · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz