Modern JavaScript frameworks don't want to you to use fetch like you used to. The best practices with Single Page Applications no longer apply. You should be taking full advantage of the server instead of making API requests from the frontend.
Try Xata - [ Ссылка ]
Full Astro Course - [ Ссылка ]
**Newsletter**
Newsletter 🗞 - [ Ссылка ]
**DISCORD**
Join the Learn Build Teach Discord Server 💬 - [ Ссылка ]
Follow me on Twitter 🐦 - [ Ссылка ]
Check out the Podcast - [ Ссылка ]
Courses - [ Ссылка ]
**QUESTIONS ABOUT MY SETUP**
Check out my Uses page for my VS Code setup, what recording equipment I use, etc. [ Ссылка ]
**TIMESTAMPS**
00:00 - Intro
00:45 - Use of JavaScript Fetch
01:20 - My Mistake Using Fetch
03:00 - Moving Logic To the Server WITHOUT Fetch
04:30 - Database Setup
05:40 - Wrap Up
![](https://i.ytimg.com/vi/pvBOSpzO1XM/maxresdefault.jpg)