Next.js 14 Tutorial - 38 - Handling DELETE Request

preview_player
Показать описание

📱 Follow Codevolution

Handling DELETE Request
Рекомендации по теме
Комментарии
Автор

Hello Vishwas, I would like know if you are you going explain;
1. Authentication and authorisation,
2. how we can use either Redux or ReactContext in NextJS,
3. how we can manage UI component styling or themes, as we need to use context for this.
Basically, I would like to know how NextJS automatically does certain tasks in the above 3 points, so our foundation would be strong (like yours).

avishetty
Автор

please cover more topics these are really helpful

pianoworld_
Автор

It's worth noting that sending the delete request for a second time (or third, forth etc.) will result in the deletion of the last element in the array. This is because the findIndex function will return -1 if the ID cannot be found.

Easily fixed by adding something like:

if (index === -1) {
return new Response("id not found", { status: 404 });
}

sam-dawson-music
Автор

useful content. My top listed fav channel

osamasajid-uu
Автор

I was thinking that the only 2 things NextJS helps in, is SEO and serverSide rendering.
But working through the docs, I get a feeling that it has much more than these. There certain files if it exists in specific locations (like middleware file), it does some magically work that we do in react with lots of code. It would be great if we understand these basics.

avishetty
Автор

Please start videos on client component, server action and component. Static generation and server side generation in next 14. Eagerly waiting 🙏

VikramParmar-fnet
Автор

Vishwas, thank you for the content. One question, how many more videos can we expect in this series?

nenadignjatovic
Автор

how much community support does nextjs have?

pranjalkesarwani
Автор

can you please also share the notes/slides?

PrabinManandhar-yl
Автор

The filter function would've worked just fine too

nanonkay