Usually you don't want to pass objects from one page to another. A common approach is to pass an id to another page and this id is used to fetch data from a database. If you really want to do this, I think you need to use the local storage or session storage.