Тёмный

Understand How Data Flows Through SvelteKit 

Joy of Code
Подписаться 30 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 79   
@JoyofCodeDev
@JoyofCodeDev Год назад
🔴 Patreon: www.patreon.com/joyofcode 💬 Discord: joyofcode.xyz/invite
@noaudiochannel3131
@noaudiochannel3131 Год назад
The amount of value in your content is crazy. It feels like I am always learning something new in these videos. Keep these videos coming.
@SaidElnaffar
@SaidElnaffar 9 месяцев назад
This is a GEM video -- each second in this video counts!!!! It should be part of the official documenation of SvelteKit!
@JoyofCodeDev
@JoyofCodeDev 9 месяцев назад
I hope they include something like this in the SvelteKit docs one day.
@simonnice9030
@simonnice9030 Год назад
I love Svelte and Sveltekit. I work with it daily and I can't imagine a stack without it.
@whatisamodel8252
@whatisamodel8252 6 месяцев назад
I fucking hate it
@kazagi
@kazagi Год назад
i spend a tons of time to find how the data flow is but i dont understand that clearly and bommm u made it in 25mins . Thank u
@JoyofCodeDev
@JoyofCodeDev Год назад
I'm glad it's helpful.
@simonphumin
@simonphumin 3 месяца назад
Thank you so much for this video. Especially the explanation what every file does is sooo crucial to understand when getting into Svelte & SvelteKit.
@Allformyequine
@Allformyequine Год назад
I love you are reviewing things that confuse or trip people up when developing with SvelteKit!! You rock! Keep them coming!
@JoyofCodeDev
@JoyofCodeDev Год назад
Thank you! I always look at what people are asking and have trouble understanding.
@Allformyequine
@Allformyequine Год назад
@@JoyofCodeDev ​ @Joy of Code That's so great and why I'm a Patreon ! Appreciate it!
@rickhoro
@rickhoro Год назад
Brilliant presentation of data flow in svelte. I have trouble with your videos because you move so fast, lol! I have to run them at .75X speed, but I will use this as a reference if I have to review this in the future. Thank you for doing this and providing the code so we can play with it ourselves.
@JoyofCodeDev
@JoyofCodeDev Год назад
I'm trying to not make it super long. 😂
@rickhoro
@rickhoro Год назад
@@JoyofCodeDev Don't worry about the length. Whatever length is necessary to explain what you have to explain is just fine with me. Slow down, take your time. 😊
@EgorDemeshko
@EgorDemeshko Год назад
don't get it in getting info in parent layout. too fast. nevertheless great info and video
@EgorDemeshko
@EgorDemeshko Год назад
and i have a question. at start we see flow looks like hooks => layout.server => layout => page.ts but on chapter data passed through routes we see hooks => layout.server => page.server => page => layout.ts so layout universal load file goes last before svelte files. why ordered changed?
@StephenDeLong
@StephenDeLong Год назад
Great content as usual! Laying it out in digestible formats AND an article to read for more review. Premium stuff here!
@JoyofCodeDev
@JoyofCodeDev Год назад
Thank you! 😄
@funnynews341
@funnynews341 Год назад
The heart of sveltekit in this video, SPA and SSR all here, thank you so much!
@fleq6542
@fleq6542 Год назад
This is my favorite video so far for sure. I tested this myself to learn, because understanding this is essential imo to develop properly. Helped me clear up a lot of doubts I still had. Thank you!
@JoyofCodeDev
@JoyofCodeDev Год назад
I'm happy to hear that! 😄
@marcosissler
@marcosissler 5 месяцев назад
Amazing content. I was working with Svelte and now it's like a new a refresh. I finally understand how data works and pass throw the layers. Love Svelte even more. You can construct applications really fast. Simple ones.
@RodrigoDAgostino
@RodrigoDAgostino Год назад
I’m honestly really grateful to you for all the effort you put in your content. It’s amazing how you find ways to put complicated things in very simple terms and illustrate them in a very friendly way :) Just don’t rush so much! xD
@JoyofCodeDev
@JoyofCodeDev Год назад
Thank you! 😄
@nathanellis7819
@nathanellis7819 Год назад
You are a legend. Thank you
@danibri
@danibri Год назад
Very good video !! Continue like this 🔝🔝
@rod5751
@rod5751 9 месяцев назад
Head spinning but very helpful - thanks!
@rahulxcr
@rahulxcr Год назад
Thanks. This is very helpful.
@JoyofCodeDev
@JoyofCodeDev Год назад
Awesome! 😄
@simbarashemaunga5575
@simbarashemaunga5575 8 месяцев назад
You are an amazing instructor, looking forward to more content
@JoyofCodeDev
@JoyofCodeDev 8 месяцев назад
Thank you! 😄
@BryanKlein
@BryanKlein Год назад
Thank you for the clear and coherent explanation.
@JoyofCodeDev
@JoyofCodeDev Год назад
You're welcome! 🙂
@cowabunga2597
@cowabunga2597 Год назад
Whoever does your thumbnail give them a raise 😌 amazing
@JoyofCodeDev
@JoyofCodeDev Год назад
I'm using AI generated art because I love the colors! 😄
@00044441
@00044441 Год назад
well that was a clear lesson on how routes work thanks
@JoyofCodeDev
@JoyofCodeDev Год назад
Thank you! 🙏
@TheAabbccddee12345
@TheAabbccddee12345 Год назад
Thank you for this gem of a video.
@efimgibsun7969
@efimgibsun7969 Год назад
Thank you, this video is obviously great tutorial
@argonjs
@argonjs Год назад
Awesome! 🔥
@djordje_matic
@djordje_matic Год назад
Very good tutorial! Thanks
@onepointproduction9092
@onepointproduction9092 Год назад
Superbbbbb content
@wild_rage
@wild_rage Год назад
Hvala matija!
@jamiewalker1745
@jamiewalker1745 Год назад
Amazing.
@dheerajs2838
@dheerajs2838 Год назад
Thanks!
@JoyofCodeDev
@JoyofCodeDev Год назад
Thank you 🙏
@suvrotica
@suvrotica Год назад
Love your stuff. Did you see vercel has new storage option. Could you make a video on that.
@JoyofCodeDev
@JoyofCodeDev Год назад
Yeah, I wanted to try it out! 😄
@paolo-e-basta
@paolo-e-basta Год назад
Thanks
@JoyofCodeDev
@JoyofCodeDev Год назад
Thank you! 🙏
@Huntabyte
@Huntabyte Год назад
2nd!
@JoyofCodeDev
@JoyofCodeDev Год назад
hi
@Huntabyte
@Huntabyte Год назад
@@JoyofCodeDev Just finished watching, great video man! Loved the way this was presented and visualized 🚀🔥
@JoyofCodeDev
@JoyofCodeDev Год назад
@@Huntabyte Thank you! 😄
@redumptious2544
@redumptious2544 Год назад
Wow. Another great video honestly!! Do you have that excalidraw canvas exported somewhere. I feel like it would be a nice cheat sheet for newcomers.
@JoyofCodeDev
@JoyofCodeDev Год назад
I do in the post.
@redumptious2544
@redumptious2544 Год назад
@@JoyofCodeDev Oh. Great. I'll check it out.
@AakashGoplani
@AakashGoplani Год назад
I am still finding it hard to understand role of +[file].server.ts and +[file].ts (where file -> page / layout). +[file].server.ts => executes codes on server side which means if I have any logic that I want to server-side render, I'll pick this file. This much is clear to me. +[file].ts => executes code on both server and client. I don't understand purpose of this file. If I want certain piece of logic to execute on server, I will use +[file].server.ts & if I want that logic to execute on client side, I could use any of svelte life-cycle hook. This would save me from repeatedly checking if (browser) { .. } Can anyone help me clear this thought process.
@JoyofCodeDev
@JoyofCodeDev Год назад
It helps if you think more about where you want to run the load function. You might only be able to get some data from the server (using a secret) but you might want to do something else in the browser in which case you can pass the data from `+page|layout.server.ts` to `+page|layout.ts`. I have a lot of examples in my page versus standalone endpoints video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8OmsVZuuQMc.html.
@WyzrdCat
@WyzrdCat Год назад
🔥💥⭐🌟⭐💥🔥
@Nukhtarov
@Nukhtarov Год назад
Thank you! Can you please make a video of the superforms components?
@JoyofCodeDev
@JoyofCodeDev Год назад
Yeah! 😄
@Nukhtarov
@Nukhtarov Год назад
@@JoyofCodeDev Just so there is no misunderstanding, on their website it is Other topics > Componentization >Forms and fields in components. Thank you, i love your videos.
@johntierney3353
@johntierney3353 Год назад
At 1:11 you talk about getting user preferences from 'local storage'. Is this 'local storage', the sveltekit 'local storage', or is this the Web Sorage API( window.localStorage ) which provides access to a Storage object.
@JoyofCodeDev
@JoyofCodeDev Год назад
window.localStorage
@omomer3506
@omomer3506 Год назад
So what about if you are doing a get request inside your svelte component, is it the very last thing thst will run?
@JoyofCodeDev
@JoyofCodeDev Год назад
Right. You would see a loading indicator as you fetch the data before you can show it.
@forno_nicolas
@forno_nicolas Год назад
Hi! one question... What abour Service workers? I think it may be before even hooks isnt it?
@JoyofCodeDev
@JoyofCodeDev Год назад
Try it out and let me know! 😄
@marcosissler
@marcosissler 5 месяцев назад
Hey @JoyofCode! I have a new project in Svelte that is still in V1.0 and new, not so big. Do you think is a good practice to use TS in the project? I am not using at this moment. But as the project get bigger, I can see now, maybe is a good one to change it to TS use.
@JoyofCodeDev
@JoyofCodeDev 5 месяцев назад
I always use TypeScript.
@marcosissler
@marcosissler 5 месяцев назад
@@JoyofCodeDev I already converted! Tks
@alrojohnmercado4199
@alrojohnmercado4199 5 месяцев назад
Can you please do the Prisma Postgresql and supabase storage to image upload and fetching
@eduardovega8851
@eduardovega8851 10 месяцев назад
I fucking love you
@phoneywheeze
@phoneywheeze Год назад
still didnt understand use:enhance. Maybe a comparison video that illustrates with and without use:enhance would help!
@JoyofCodeDev
@JoyofCodeDev Год назад
I have an entire video on working with forms: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XNbCp7ZJi-8.html.
@Lukehagar
@Lukehagar Год назад
First! :P @JoyofCodeDev I love your content
Далее
Who Needs API Permission When You Can Use Web Scraping
29:18
Bike Challenge
00:20
Просмотров 21 млн
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Traditional Databases to AI-Infused Systems
50:31
Просмотров 1,5 тыс.
HTTP Polling vs SSE vs WebSocket vs WebHooks
22:22
Просмотров 6 тыс.
Svelte 5 Preview | Runes
12:40
Просмотров 77 тыс.
SvelteKit is my mistress
4:19
Просмотров 420 тыс.
Understand the Supabase SSR Package easily
13:55
Просмотров 12 тыс.
When RESTful architecture isn't enough...
21:02
Просмотров 275 тыс.
Forms Will Never Be the Same
10:10
Просмотров 55 тыс.