Skip to main content

All Questions

4 votes
1 answer
2k views

Svelte 5: Passing state and derived values from children to parent (runes mode without stores)

I have a parent component with multiple draggable Item-components which will be created dynamically in the final app. Inside each Item I calculate the current position as well as a derived offset ...
The_Lab's user avatar
  • 97
2 votes
2 answers
2k views

Svelte 5: How to pass primitives reactivly across components/modules

I have a few dozens of reactive primitive values (like e.g. div_status = "frozen") which I need to pass between component/module boundaries, including +page.svelte files and svelte.js ...
The_Lab's user avatar
  • 97