Комментарии:
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.
Ответить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
Ответитьi've never used pages as components, that's genius
Ответить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?
Can form actions also be executed?
ОтветитьOut of curiosity, what VSCode extensions do you use for SvelteKit/javascript?
ОтветитьWould enjoy seeing an Event Calendar done in Svelte.
ОтветитьHow do you stop the page from scrolling to the top when closing the modal?
ОтветитьThank you for these Videos!
ОтветитьAlmost 20k!
ОтветитьFine, I admit I don't actually know Ikea.
Ответить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?
ОтветитьWow. WOWWW
Ответить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!
ОтветитьHow beautiful is this Friends ... )) Thanks for your content!
ОтветитьWow this is so much cleaner than the NextJS way. The syntax for intercepting routes in Next is so clunky
ОтветитьWill this work if the data is on streamed? If yes, how? Thank you very much
Ответитьhow to prevent list scroll to top when close modal? like on twitter
Ответить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.
Boom! lets go!
ОтветитьThis plus view transition should make seamless experiences.
ОтветитьGreat video and nice content. Please can you share your vscode theme thanks
ОтветитьAmazing!!! <3 I'm lover Svelte from Brazil!
Ответить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.
Ответитьgreatest teacher!
Ответить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.
Ответить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.
ОтветитьI hope goto don't get deprecated because I really like it
Ответить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.
How beautiful is this ? Very beautiful !
ОтветитьWow.
ОтветитьSoon working on a new project, Svelte has been chosen... Your channel I think will be dominating my dreams.
ОтветитьIncredible!!!
Ответить🔥🔥🔥🔥 video as usual
Ответитьwow, they have a command to migrate! interesting!
ОтветитьIs there any way to prevent history.back() from scrolling to the top?
ОтветитьYep, we're definitely so back 🚀
Ответитьwait over :)
Ответить