Proxmox

useFetch and useLazyFetch in Nuxt 3 | Urdu & Hindi



In this video, you will learn how to use useFetch and useLazyFetch in Nuxt 3. useFetch and useLazyFetch are used for fetching data when navigating between pages. Both of them are used solely for fetching data and cannot be used for API calls triggered by click events. useFetch and useLazyFetch render the data on the server side and then send it to the client side.

🧲 Timestamps:
00:00 – Introduction
00:26 – Pending State
01:27 – Read api data
01:51 – lazy fetch
02:29 – Fix Null data
03:42 – SSR and CSR concept
04:56 – useLazyFetch
05:12 – Conclusion

🧲 Checkout our projects at GitHub:

🧲 VSCode:
● Font: Cascadia Code
● Theme: Obsidian Dark

🧲 Personal Tech Stack:
● Laravel, Livewire
● VueJs, NuxtJS
● MySQL, mongoDB, Pocketbase
● TailwindCSS
● LAMP Stack
● Linux, Virtualization, Proxmox

Please Ignore Negative Comments 🙂

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button