ComputerGuy

ComputerGuy

@computer-guy.bsky.social

FOSS dev @svelte.dev maintainer computer nerd https://github.com/Ocean-OS

96 followers63 following28 posts

ComputerGuy reposted

not an april fools joke: svelte is no longer just a web framework (or rather, won't be once we merge @paolo.ricciuti.me's magnum opus). have seen some extremely cool demos of this

matia 🇭🇷@joyofcode.xyz

Svelte is taking a leap towards supporting other rendering targets besides the DOM like terminals and native mobile apps

ComputerGuy reposted

This evening, @paolo.ricciuti.me will join @codetv.dev's The Web Dev Podcast to talk about our work on the Svelte Custom Renderers Initiative! Check it out if you’re interested in rendering beyond the DOM with Svelte 🙌 Tune in at 18:30 CET 👉 www.youtube.com/watch?v=nPac... #Svelte #SvelteKit

youtube.comSvelte goes beyond the DOMSvelte is well loved as a web framework, and now the team is working to take it multi-platform. Svelte’s custom renderers API will enable native apps, terminals, and more to be build with Svelte.…

ComputerGuy reposted

Who here is on Svelte 4 yet? Curious to hear what is stopping you from upgrading to Svelte 5, and if we can make things any easier here.

ComputerGuy reposted

wikipedia turns 25 today! the last unenshittified major website! backbone of online info! triumph of humanity! powered by urge of unpaid randos to correct each other! somehow mostly reliable! "good thing wikipedia works in practice, because it sure doesn't work in theory" - old wiki adage

ComputerGuy reposted

CSS is so powerful now, it's amazing looking through older CSS and seeing what can be replaced with a one-liner. I'm on the hunt for snippets that used to be multiple lines of CSS that can now be done in one. Show me what you got!

ComputerGuy reposted

Yes! Let's set the record straight. Biome has very little support for Svelte. It's marketing gone overboard. It has no Svelte-specific rules that I'm aware of. I don't think it will ever be a competitive offering. My eyes are on oxlint, which is working towards being able to run eslint-plugin-svelte

Gwenn Le Bihan@gwen.works

> While we’ve done extensive work to handle many patterns, there are cases and framework-specific syntaxes that may not yet be fully supported (for example Svelte control-flow syntax, or Astro JSX-like syntax). Sooo... Not full support then 😅

ComputerGuy reposted

Oh... what's this, you ask? Just a benchmark that coincidentally shows how fast SvelteKit is compared to Next.js 🤷‍♂️ How fast, you ask? Just 7-10x. No biggie. Svelte ❤️

ComputerGuy reposted

Super excited to announce the experimental release of asynchronous SSR in Svelte! github.com/sveltejs/sve... `await` expressions in your Svelte components can now be rendered on the server, meaning you don't need to render them inside boundaries with a `pending` snippet. Next up, streaming SSR!

github.comAsync SSR · sveltejs svelte · Discussion #16784The Svelte team has been hard at work on asynchronous rendering, with client-side support and remote functions as our first two efforts. It’s time for the third: SSR. Background There are three cor...
View full thread

I'm not saying React is bad by any means. All I'm stating is how different React really is from pretty much every other framework, and showing how much it has changed over the past decade, both in its features and goals.

View full thread

Not to mention that the reason the React Compiler needs to exist is simply because of all the new concepts and abstractions React provides. Regular optimizations wouldn't have the same effect on React code since it doesn't make use of JS like most frameworks.

React uses functions in a more mathematical sense rather than a software sense— functions represent the state of your application at any point in time, and regular optimizations don't account for this. The internal mechanisms of hooks would be infeasible in almost any other framework.

React originally tried to reduce the vocabulary needed to understand how to use it, but I feel that it has been moving away from that over the past decade. IIRC Pete Hunt mentioned all the vocabulary AngularJS had created/redefined to describe its concepts and implied that React would reduce this.

Things like Hooks and Suspense have their own vocabulary and concepts. Additionally, React tries pretty hard to make it feel like you're using the DOM, with concepts like JSX, when in actuality you are using a thick layer of abstraction between what you're writing and what appears in the DOM.

Not trying to be too political here, but if we have: - A TV doctor leading the Department of Health - An ex-WWE CEO leading the Department of Education - A selfish billionaire as head of a made-up department created as a meme I'm fairly certain we have a kakistocracy.

You are up to date.