5 ms·
Could you elaborate on why it's dangerous? Aren't runes just proxies with some variables in them?
by DecoySalamander 2y ago
Could you elaborate on why it's dangerous? Aren't runes just proxies with some variables in them?
- ansc 2y agoOf course! I was very used to SPA, and the convenience of moving a rune/store to an external file meant it could be accessed anywhere (as the post said). With SSR however, if you’re not careful, you can easily leak data: https://github.com/sveltejs/kit/discussions/4339 https://github.com/sveltejs/kit/discussions/4339.
- rofrol 2y agoThanks. also this https://github.com/sveltejs/kit/discussions/4339#discussioncomment-8046758 https://github.com/sveltejs/kit/discussions/4339#discussionc...