Skip to content

Update correct id with template literal#1

Open
withchristopher wants to merge 2 commits intomw999:masterfrom
withchristopher:master
Open

Update correct id with template literal#1
withchristopher wants to merge 2 commits intomw999:masterfrom
withchristopher:master

Conversation

@withchristopher
Copy link
Copy Markdown

@withchristopher withchristopher commented Nov 24, 2020

Hey Matty,

I came across your medium article (great job btw), and forked your repo. I noticed that I could update the id of each pizza dynamically using ${pizzaId} instead of statically assigned slug.

@withchristopher withchristopher changed the title Update to url to render correct id with string literals Update correct id with string literal Nov 24, 2020
@withchristopher withchristopher changed the title Update correct id with string literal Update correct id with template literal Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant