@edwinc73
Posted
Hey this is awesome! Nice use of context api, to improve this you could use useReducer to make managing complicated states easier. Your method works though.
I dont see any react specific errors. good job on completing the challenge.
@sksksk2024
Posted
Firstly, thanks for your feedback, @edwinc73! 😁
Secondly, I meant about the accessibility issues that you see above the comment section and the solution retrospective. I don't know how to clear it!
@edwinc73
Posted
I dont have the best solution to this as mine is kind of invalid, however you could change the add to cart elements to a button element which will make it more accessible for keyboard navigation.