bradtraversy / next-crash-course

Project from my Next.js crash course on YouTube
429 stars 328 forks source link

Remove unnecessary 'as' properties #1

Closed AliEmili closed 3 years ago

AliEmili commented 3 years ago

Hi dear Brad Traversy,

As it is explained in official Next.js documentation, in latest versions of Next.js, using 'as' property is optional and we can simply use it's value for 'href' property. More info could be found here : https://nextjs.org/blog/next-10#automatic-resolving-of-href

I'd be grateful if you consider my pull request as a useful one.