I am using App router and I want to pass parameters as object
without using useParams
& useSearchParams
If I were to have a object say person
const person: Person = {
name: "John Doe",
age: 25,
address: "123 Main St",
};
I want to send person
object from one route to another lets say from /home
to /person
Persently as per my limited knowledge you can move from one route to another using
router.push()
Link's href
But I cannot see any argument were I can pass the complete object