marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native

Enatega Admin Dashboard: Newly Added Product Not Appearing on Product Details Page Without Refresh.

Open
#643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
After adding a new product to the store, it does not appear on the Product Details Page immediately. Users have to manually refresh the page to see the newly added product.

To Reproduce
Steps to reproduce the behavior:

Navigate to the Add Product page.
Enter product details and submit the form.
Navigate to the Product Details Page of the newly added product.
The page does not display the product unless manually refreshed.
Expected behavior
The newly added product should appear on the Product Details Page instantly after creation without requiring a manual refresh.

Desktop (please complete the following information):

OS: [e.g. Android]
Browser [e.g. Chrome]
Version [e.g. Latest]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through the Add Product page and then opening the new product's Product Details Page. Trace how the newly created product is passed to or loaded by that page, and verify the page displays it immediately after creation without a manual refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.