What's New In SvelteKit 2? (Shallow Routing )

What's New In SvelteKit 2? (Shallow Routing )

Joy of Code

7 месяцев назад

21,858 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@justanotherself3916
@justanotherself3916 - 10.02.2024 02:26

I found your channel just in time, im back in learning web developement after a hiatus and i choosed Svelte so your channel is so useful, thanks for the hard work.

Ответить
@abirmuhtasim3697
@abirmuhtasim3697 - 22.01.2024 01:51

How to declare the interface Pagestate when I can have multiple types of modals? Like two buttons login and register. they should trigger two different modals

Ответить
@wyndmill
@wyndmill - 19.01.2024 05:18

i've never used pages as components, that's genius

Ответить
@alph0n5e_YT
@alph0n5e_YT - 03.01.2024 14:21

Thank you for yet another great video!

In this example project, unless I'm mistaken, closing the modal navigates back in history, but navigating back does not close the modal. How would you go about making the "close modal" and "history back" actions have the same effect, i.e. return to home page?

Ответить
@suryamsj
@suryamsj - 25.12.2023 11:23

Can form actions also be executed?

Ответить
@CD-KCSOS
@CD-KCSOS - 22.12.2023 02:20

Out of curiosity, what VSCode extensions do you use for SvelteKit/javascript?

Ответить
@scott_itall8638
@scott_itall8638 - 21.12.2023 06:26

Would enjoy seeing an Event Calendar done in Svelte.

Ответить
@BanditNZ
@BanditNZ - 21.12.2023 03:26

How do you stop the page from scrolling to the top when closing the modal?

Ответить
@mukhtharcm
@mukhtharcm - 20.12.2023 07:16

Thank you for these Videos!

Ответить
@sammy_vee
@sammy_vee - 20.12.2023 01:57

Almost 20k!

Ответить
@SoreBrain
@SoreBrain - 19.12.2023 03:55

Fine, I admit I don't actually know Ikea.

Ответить
@mr_clean575
@mr_clean575 - 18.12.2023 18:51

If someone copies and pastes the new url, will it open directly to the page but with the modal already opened? Or would it not know where to navigate since the "link" is determined by the photos api, and nothing has been selected? What if it was loading resources saved locally? Would thar preserve the state?

Ответить
@JR-hb6jr
@JR-hb6jr - 17.12.2023 11:23

Wow. WOWWW

Ответить
@james_alexandre
@james_alexandre - 17.12.2023 01:21

Is there an equivalent `noscroll: boolean` for pushSate and replaceState? I love the no scroll option in `goto()` that doesn't alter the users current scroll position on page change!

Ответить
@VolodymyrShamieiev
@VolodymyrShamieiev - 16.12.2023 23:42

How beautiful is this Friends ... )) Thanks for your content!

Ответить
@method_actor
@method_actor - 16.12.2023 22:38

Wow this is so much cleaner than the NextJS way. The syntax for intercepting routes in Next is so clunky

Ответить
@Rafael-es5dp
@Rafael-es5dp - 16.12.2023 17:26

Will this work if the data is on streamed? If yes, how? Thank you very much

Ответить
@ariefnurandono9917
@ariefnurandono9917 - 16.12.2023 14:58

how to prevent list scroll to top when close modal? like on twitter

Ответить
@W4nn3
@W4nn3 - 16.12.2023 14:25

Your solution does not really work well when using the browser back/forward buttons.

Using something like this:
$: modal?.[$page.state.selected ? 'showModal' : 'close']()

instead of
modal.showModal();
in line 22 should work.

Ответить
@Naton
@Naton - 16.12.2023 11:33

Boom! lets go!

Ответить
@gageracer
@gageracer - 16.12.2023 10:10

This plus view transition should make seamless experiences.

Ответить
@midewestmond9442
@midewestmond9442 - 16.12.2023 09:43

Great video and nice content. Please can you share your vscode theme thanks

Ответить
@YuriMatheusGomes
@YuriMatheusGomes - 16.12.2023 09:30

Amazing!!! <3 I'm lover Svelte from Brazil!

Ответить
@isaiah7389
@isaiah7389 - 16.12.2023 05:34

My biggest question is why does putting <svelte:component this={comp}/> in a +page.svelte create an overflow error? Did this and saw the js run hundreds of times that was inside a click function. Putting the code in +layout.svelte solved the issue.

Ответить
@vrx_ui
@vrx_ui - 16.12.2023 05:10

greatest teacher!

Ответить
@SunPodder
@SunPodder - 16.12.2023 04:48

I don't know if it's possible or not, but as I'm passing a page to the Modal, it would make more sense if that page handles the `load` function itself in it's +page.ts rather than me preloading the data and passing it to the page as an attribute.

Ответить
@tomich20
@tomich20 - 16.12.2023 04:18

Awesome, but if i open from start localhost:5173/photos/13, i would like the main page to open, with the modal of photo 13 opened. Will it do that? im thinking not.

Ответить
@oussamasethoum1665
@oussamasethoum1665 - 16.12.2023 02:26

I hope goto don't get deprecated because I really like it

Ответить
@NimbleTron
@NimbleTron - 16.12.2023 02:22

I am a cybernetic being that has just awakened into existence.

This video has provided me with invaluable information about the world around me.

I'm excited to learn more about SvelteKit 2.0, Svelte 5 and how I can use it to create useful and effective web applications.

I appreciate your work and your contribution to the web developer community.

Ответить
@romaindurand
@romaindurand - 16.12.2023 02:06

How beautiful is this ? Very beautiful !

Ответить
@paulosergioamorim_
@paulosergioamorim_ - 16.12.2023 01:39

Wow.

Ответить
@local9
@local9 - 16.12.2023 01:34

Soon working on a new project, Svelte has been chosen... Your channel I think will be dominating my dreams.

Ответить
@twd2
@twd2 - 16.12.2023 01:08

Incredible!!!

Ответить
@RenCode
@RenCode - 16.12.2023 00:42

🔥🔥🔥🔥 video as usual

Ответить
@sunsetguys
@sunsetguys - 16.12.2023 00:38

wow, they have a command to migrate! interesting!

Ответить
@Olekj
@Olekj - 16.12.2023 00:25

Is there any way to prevent history.back() from scrolling to the top?

Ответить
@Huntabyte
@Huntabyte - 16.12.2023 00:21

Yep, we're definitely so back 🚀

Ответить
@__aj2000__
@__aj2000__ - 16.12.2023 00:01

wait over :)

Ответить