Sandrico

Sandrico

@sandricoprovo.com

Software Developer ๐Ÿ‘จ๐Ÿพโ€๐Ÿ’ป ๐Ÿ‡จ๐Ÿ‡ฆ || Gamer ๐ŸŽฎ || Anime ๐Ÿ“บ

108 followers200 following10 posts

After I started learning Go, I now find myself writing this type of fetch helper in every JavaScript side project I work on. I just love errors as values.

One of my favourite Svelte syntaxes: class:[class-name-here]={value-here}. This syntax gives you a quick way to conditionally add/remove classes based on state. It's equivalent to using a ternary to achieve the same. I think they cooked with this one ๐Ÿ‘จ๐Ÿพโ€๐Ÿณ. Docs: svelte.dev/docs/svelte/...

90% of my day job is in React with the other 10% being Express. I enjoy them, and yet, whenever a side project comes to mind Iโ€™m consistently reaching for Svelte & Sveltekit instead. Especially since v5, there are so many nice touches ๐Ÿ‘Œ๐Ÿพ.

You are up to date.