how to loop through and render a list fbut make the last loop an a tag react code example
Example: react loop through array
this.items = this.state.cart.map((item, key) => <li key={item.id}>{item.name}</li>);
this.items = this.state.cart.map((item, key) => <li key={item.id}>{item.name}</li>);