Next.js Pass Data From One Page to Another Page

preview_player
Показать описание
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).

👉 Discord: all my courses have a private Discord where I actively participate

⏱️ Timestamps:
0:00 Explanation

#webdevelopment #coding #programming
Рекомендации по теме
Комментарии
Автор

really helped me alot brother, thanks for explaining it in such a simple way.

malikhussainahmed
Автор

Wonderful explanation! Helped me a lot.

brunobrasil
Автор

you are the first and only person thats been able to help me, thank you so much

TheTrackoShow
Автор

that's what I guessed and did before ! bc guess what ? I watched one of your video that shows using query params over states and after that video, I've become familiar with using query params easily.
Thanks for the videos!

Furki_
Автор

This doesn't clean-up the query params on the next page, exposing ability for the user input to be mapped directly to the incoming props into the component. At the very least, the next page should be aware of the incoming params and clear them so that it is only available briefly, on the initial render of the second page. The first page also overrides any params that may already exist on the first page.

Van-dhry
Автор

but if you reload the page the data is gone is there any solution for this?

himanshu
Автор

If I wanted to remove the query parameters from the URL after retrieving them on the client side?

jerrycelozzi
Автор

Couldn't find this information anywhere, thanks very helpful

frdqmrb
Автор

Really amazing video, it hepled me a lot... Thank you sir

gajendrasomawat
Автор

Thanks, keep posting videos like this

aymenbachiri-yhhd
Автор

Thank you, I had many doubts about that. One question, there is a way if I don't wanna to pass the params in the url, just the id and didn't show?

quicksketch
Автор

That is soooo helpful, Really appreciated !!

deenayoussry
Автор

is it working integrating headers with js funciotns?

ncn
Автор

how can we do it in next 14 with app dir, query is removed

makhmudjonjamoldinov
Автор

I made it by router.push, i worked will, but the data became undefined when i refresh the page, what is the solution

-mahmoudadel
Автор

Is there a way to pass Objects instead of string between routes?

frkyrgj
Автор

Ohh man you saved my life . The Docs are very confusing

ankitupadhyay
Автор

What if we want to pass data with router.push from next/navigation ?

luciendelgrange
Автор

what the extension used for auto complete

Saravanan_Sakthivel
Автор

i don't really like the url looking like that, is there a way to mask the url?

siosaiafonua