Explore Library
Code QuizIntermediate

Passing Params to a Route

Spot the mistake in how params are passed during navigation.

Codejavascript
navigation.navigate('Details', itemId, 42);

// Details screen tries to read route.params.itemId

What is the bug in this code?