Annastacia-dev / react-cart

Implementing Cart Functionality in React JS using the Context Api
https://react-cart-azure.vercel.app
11 stars 5 forks source link

Render Optimization #1

Open iampato opened 1 year ago

iampato commented 1 year ago

There a lot of rebuild issues, I suggest the use of memo and useCallbacks

Annastacia-dev commented 1 year ago

Thank you for raising this, Personally I have not interacted with the above hooks before, I'll research on them but feel free to raise a PR on the same I'd be glad to learn from your implementation.

iampato commented 1 year ago

Sure i shall prepare one

On Mon, Jun 5, 2023 at 4:38 PM Annastacia @.***> wrote:

Thank you for raising this, Personally I have not interacted with the above hooks before, I'll research on them but feel free to raise a PR on the same I'd be glad to learn from your implementation.

— Reply to this email directly, view it on GitHub https://github.com/Annastacia-dev/react-cart/issues/1#issuecomment-1576826259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXDJ4ZHSDMMTCLKONLNBOLXJXOONANCNFSM6AAAAAAY22EC2Y . You are receiving this because you authored the thread.Message ID: @.***>