0

I am doing an application similar to an e-commerce application. I bring the products with the json api. When users favorite products, I want to list them on another page. How can I do that? This is my productions page

What do i want: when users click fav icon app save this page and show another page

4
  • when the user clicks on favourite, just add the product to a new list, and generate the favourites page from this list? Commented May 9, 2021 at 13:59
  • can you explain a little more Commented May 9, 2021 at 15:15
  • for example, you are showing a bike currently, it must have a product id of sorts in the backend right? just store this id in a new list along with the necessary details to be shown in the favourites screen and built the screen using this new list Commented May 9, 2021 at 15:17
  • thx for ur help i will try Commented May 9, 2021 at 15:21

1 Answer 1

1

You can store your favorite list items in local storage, try using hive package to store your data.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.