How to pass an object in params in routes? #502
Unanswered
Brunowilliang
asked this question in
Q&A
Replies: 2 comments 2 replies
-
i'd say you got 2 solutions: First, you Second is you have in the url the id of the transaction so the "best" practice would be to query that transaction in the screen based on the id you pass in the url. Ideally you have a cache system that would avoid waiting for an other network call to get the item. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Why can't the expo router just bring the original React Navigation feature back? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Guys, I need to pass an object in my routes, but it doesn't send it the way I want.
I'm going like this:
const params = useSearchParams();
console.log(params)
Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions