Svelte State Management Guide (Sharing Data Between Components)

Svelte State Management Guide (Sharing Data Between Components)

Joy of Code

1 год назад

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

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


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

Emo Nymph
Emo Nymph - 02.10.2023 19:59

does svelte or sveltekit use same state management as htmx? if not how are they different

Ответить
LexVale
LexVale - 18.07.2023 17:52

I have a question about the URL params: can you make them reactive in sveltekit?

Ответить
MORI
MORI - 20.06.2023 19:26

Thank you for the video! I’m trying to make editable tables that are contained within tabs, and I want to preserve the edits when you click onto different tabs. Would stores be suitable for that purpose or is there something else that would be more ideal?

Ответить
Entrenador Hispano
Entrenador Hispano - 14.05.2023 17:55

Saving state on the url is util when you are creating mobile-web apps
Cause the people can use the android back button to revert state, like most native android apps do...

Example. When you display a modal for input, most people will use back button to close it

Ответить
David
David - 12.05.2023 20:36

This content is gold. It is frustrating to try to use the wrong tools for the job but not know what are the correct ones. Your summary is amazing for someone learning Svelte. Thanks a lot!

Ответить
Abdul Sami
Abdul Sami - 06.05.2023 20:43

Haha yes infact:
"With great power comes great responsibility"

Amazing video ❤ i had a doubt about bind:value and now it is cleared😅 Thank you Sir!😊

Ответить
Tobias
Tobias - 26.02.2023 16:07

Cool! Thank you for your work! That helps a lot!

Ответить
Naol Fekadu
Naol Fekadu - 10.02.2023 18:11

best production, thanks for taking the time to make this

Ответить
RK
RK - 29.01.2023 21:24

Thank you for all your awesome tutorials! I am learning so much and the joy you have with coding in Svelte is highly addictive :) All the best to you and please keep your Joy for Code!

Ответить
Yohan Lopes
Yohan Lopes - 22.01.2023 05:28

your videos should be linked in svelte's documentation.

Ответить
DannyDevs
DannyDevs - 16.09.2022 08:59

Question for you, since you are a Svelte expert: Do you feel that Svelte is as composable as React, Solid, and Vue 3? Those have composability (stateful composables) as first class citizens. I know you can use Svelte writable stores in a similar fashion, but I'm wondering if you feel that Svelte is as composable as React/Solid/Vue 3 or if there are some limitations due to Svelte's unique design.

Ответить
Katkat
Katkat - 11.09.2022 12:53

Awesome explanation man, this particular video make me more understand about state management in svelte, and which one i should decided to use within my project. I never trying state management other than props, state, and store from the start i learning svelte. hope you make more video about svelte base framework dude. 👍👍

Ответить
Koolvoid
Koolvoid - 09.09.2022 23:04

Very nice tutorial, thanks Joy :)

Ответить
Lahcen Codery
Lahcen Codery - 30.08.2022 22:16

Gold 🥇

Ответить
m12652
m12652 - 27.08.2022 16:07

Brilliant, thankyou…

Ответить
Mendo Dev
Mendo Dev - 25.08.2022 21:47

Excellent video, thanks so much for putting it together! 👏👏👏

Ответить
yy
yy - 25.08.2022 21:38

Nice video. What's your VS Code theme? It looks really neat!

Ответить
Julien Connault
Julien Connault - 24.08.2022 10:19

Module Context has now been replaced by +page.js or +page.ts

Ответить
Kokoserver
Kokoserver - 24.08.2022 04:23

please can you do a video of refresh token with sveltekit, I just finished your series of Auth with sveltekit

Ответить
Kokoserver
Kokoserver - 24.08.2022 04:22

thanks alot

Ответить
delanyo agbenyo
delanyo agbenyo - 24.08.2022 03:32

I'd love to use dispatcher.. I believe it's the same as binding component

Ответить
Tomás Sánchez Gavier
Tomás Sánchez Gavier - 24.08.2022 00:41

ThankU, coming from jQuery didn't know about context. Also for my state I use some local storage (to preserve data between loads).

Ответить
tom bents
tom bents - 23.08.2022 21:57

This couldn't come at a better time. Great video 👍👍

Ответить
Shawn L
Shawn L - 23.08.2022 20:03

What's the benefit of context module over stores for sharing state between components?

Ответить
Andante Bass
Andante Bass - 23.08.2022 19:52

Nice! What's your WPM?

Ответить