Skip to content

Commit b12842e

Browse files
Update shopping-cart.md
1 parent 5df2bf2 commit b12842e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recipes/javascript/packages/react/shopping-cart.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Shopping cart
22

3+
Source - [How to refresh a component in React](https://upmostly.com/tutorials/how-to-refresh-a-page-or-component-in-react)
34

45
```jsx
56
import { useState } from 'react';

0 commit comments

Comments
 (0)