Tag: svelte

Using arrays in Svelte localStorage store

Difference between cookies and localStorage A localStorage allows browsers to store data related to the application in the client. This might seem identical to the purpose of the cookies, but there are differences, otherwise it could just be called otherCookies instead of localSt…

Comments working using vim in Svelte

Here's a minimal vim settings that I have tweaked to make the comments work using vim in Svelte call plug#begin('~/.vim/plugged') Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'evanleck/vim-svelte' Plug 'Shougo/context_file…