Is it possible to pass array as parameter to page? #822
Unanswered
snowdigital
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have modal screen for viewing array of photos provided from previous page ex
userImages = [image1url, image2url, ... ]
in react navigation it was possible to navigate with
nav.navigate({name:"imageView",params:{ images: userImages}})
but expo-router makes
JSON.stingify
andencodeURIcomponent
Is this right way to rely on this behaviour and use
or is there better approach to this situation
Beta Was this translation helpful? Give feedback.
All reactions