Andreas Söderlund (@encodeart) 's Twitter Profile
Andreas Söderlund

@encodeart

Uniting art and engineering in code
Creator of Superforms for SvelteKit
superforms.rocks

ID: 1646119737540112392

linkhttps://blog.encodeart.dev/ calendar_today12-04-2023 11:55:11

179 Tweet

547 Takipçi

155 Takip Edilen

Andreas Söderlund (@encodeart) 's Twitter Profile Photo

Regexp/validation tip: Validating a string with only min length is usually not enough, since it will accept whitespace and punctuation. But it's quite easy to validate against letters with a unicode regexp: More info, reference and some pitfalls at regular-expressions.info/unicode.html

Regexp/validation tip:
Validating a string with only min length is usually not enough, since it will accept whitespace and punctuation. But it's quite easy to validate against letters with a unicode regexp:

More info, reference and some pitfalls at regular-expressions.info/unicode.html
Andreas Söderlund (@encodeart) 's Twitter Profile Photo

Vegetarian: "A person who does not eat meat." So the moment after I've finished my steak, I'm a vegetarian. That's nice! 🥦

Andreas Söderlund (@encodeart) 's Twitter Profile Photo

Do you want to know why Trump won the election? Because the opposing side, to a larger degree than Trump, represents The Establishment. It's a broad term, though a simplified yet rather useful definition of The Establishment is "more of the same". And that is decidedly what

Andreas Söderlund (@encodeart) 's Twitter Profile Photo

Superforms 2.22.0 brings you a a PR from the creator of Zod himself, colinhacks/zod, and feature from the very latest SvelteKit (thanks as always, Svelte), so now you can send any type of data with the form. 🎄 Merry Christmas! 🎄

Superforms 2.22.0 brings you a a PR from the creator of Zod himself, <a href="/colinhacks/">colinhacks/zod</a>, and feature from the very latest SvelteKit (thanks as always, <a href="/sveltejs/">Svelte</a>), so now you can send any type of data with the form. 🎄 Merry Christmas! 🎄
Andreas Söderlund (@encodeart) 's Twitter Profile Photo

Superforms has gotten some flak lately since it can be a bit too much for simple forms. But remember that you can use it just on the server, and roll your own solution on the client, which is especially easy with Svelte 5. Check out how it's done: sveltelab.dev/rge07lq1b2ouw2…

ArkType (@arktypeio) 's Twitter Profile Photo

Introducing ArkType 2.1, the first pattern matcher to bring the power of type syntax to JS. Fully type-safe and up to 100x faster than ts-pattern🧵

Introducing ArkType 2.1, the first pattern matcher to bring the power of type syntax to JS.

Fully type-safe and up to 100x faster than ts-pattern🧵
Star History (@starhistoryhq) 's Twitter Profile Photo

2.4K ⭐️ Superforms is a SvelteKit form library 📖 that brings you a comprehensive solution ✅ for server and client form validation. Andreas Söderlund star-history.com/#ciscoheat/sve… #starhistory #GitHub #OpenSource

2.4K ⭐️ Superforms is a SvelteKit form library 📖 that brings you a comprehensive solution ✅ for server and client form validation. <a href="/encodeart/">Andreas Söderlund</a>

star-history.com/#ciscoheat/sve…

#starhistory #GitHub #OpenSource
Andreas Söderlund (@encodeart) 's Twitter Profile Photo

It's a great day for form validation! With the 2.27.0 release of Superforms for SvelteKit by Svelte, the super-trio of validation is ready for you: Zod 4 and Zod Mini by colinhacks/zod, Arktype 2.0 by ArkType and Valibot 1.0 by Valibot. Try it out at superforms.rocks!

It's a great day for form validation! With the 2.27.0 release of Superforms for SvelteKit by <a href="/sveltejs/">Svelte</a>, the super-trio of validation is ready for you: Zod 4 and Zod Mini by <a href="/colinhacks/">colinhacks/zod</a>, Arktype 2.0 by <a href="/arktypeio/">ArkType</a> and Valibot 1.0 by <a href="/valibot/">Valibot</a>. Try it out at superforms.rocks!
Andreas Söderlund (@encodeart) 's Twitter Profile Photo

Creating a SvelteKit cross-platform native desktop app wasn't that hard with the help of NeutralinoJs! I made a template to make it as easy as possible to get started: github.com/ciscoheat/neut…

Andreas Söderlund (@encodeart) 's Twitter Profile Photo

With the help of GitHub Copilot, its Agent mode (with Claude Sonnet 4.5) and the GitHub and Svelte MCP servers, I just fixed 10 Superforms issues in a few hours of work, and when I say work, most if it was waiting for the changes to be completed, and clicking allow for terminal