mvc
Svelte
mvc | Svelte | |
---|---|---|
2 | 681 | |
4 | 80,398 | |
- | 1.0% | |
5.4 | 9.9 | |
about 2 months ago | 5 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mvc
-
React chaos in mid and large web apps: Any different experiences?
I don't mind how the view part of react works, but I don't like how it gets so complicated managing state. With a lot of state libraries for it now just providing lots of hooks you end up with so much in the view. Like you'll have more than half the comment be hook code managing state. While I prefer functional view components, there was something said for the encapsulation class components gave you.
We've got our own state framework for react that adds controller classes: it makes it easier to write imperative code, but with ours for the business logic rather than the view. It works a lot like mobx but class based. https://github.com/aha-app/mvc unfortunately we haven't put as much love into the oss library as we should have. We use it extensively in our apps.
I find it makes writing react code much more like writing classical UI desktop UI code, with wired up controllers and models.
-
How React 19 Almost Made the Internet Slower
> React was originally designed to be the V in MVC.
So much this. As we built more sophisticated apps using React we were constantly frustrated with how much code was ending up in the views, and how difficult controller frameworks were to work with (looking at you Redux). So we built our own mini-framework that explicitly separates the view from the controller. Seems like a simply change but it is amazing how much more productive it makes developers, especially with large complex applications that need refactoring as they evolve.
Unfortunately our skills are in writing code, not marketing, so we don't have a fancy website like most frameworks. But the details are here: https://github.com/aha-app/mvc
Svelte
-
Are Angular Resolvers on Life Support ?
Svelte - no recommended usage on GH for pure Svelte, although you would need to use $effect with .then() instead of async. Svelte 4 uses stores, which would follow the same unrecommended pattern inside the store. See Svelte 5 with Firebase
-
How to Build a Content-Driven Static Site with Markdown, SvelteKit and Fusionable
SvelteKit as frontend framework
-
A Guide to Server-Side Rendering
Svelte
-
Open Source Contribution: Round 2
When I first accepted this feature, I did not realize that I would have to work with something completely new to me: Svelte, an open-source component-based front-end framework! This came as a shock to me as I opened the ChatInput component and realized that this was a file where there was TypeScript code, HTML elements, and styles all in the same file!
-
Experiences and Caveats of Svelte 5 Migration
It took longer to migrate to Svelte 5 than I had expected. I still have not pushed this new version to production, though. The updates to Svelte 5 are still coming in with quite high frequency.
-
Building a Secure Event Booking App with FACEIO and Svelte
In this tutorial, we'll build Authvents with Svelte, an event booking platform, and integrate FACEIO for biometric authentication, allowing users to sign in and access ticket dashboards securely with facial recognition.
-
Svelte 5 is out!!!
More details can be found in Svelte Github page
-
Svelte 5 Released
I love Svelte and use it for all my personal projects and all company projects (except strictly static sites are still built with just 11ty but I hate it and want to move off it).
But I'm going to wait a bit on v5 for the company, scanning all the issue headlines, it looks like there are a still a lot of unresolved edge cases: https://github.com/sveltejs/svelte/issues
As for my latest personal project, upgrading right now so I can help find more of those edge cases :D
- Svelte 5 Release approved and merged
What are some alternatives?
williamcotton.com - williamcotton.com
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
React - The library for web and native user interfaces.
lit - Lit is a simple library for building fast, lightweight web components.
solid-docs - Official documentation for the Solid ecosystem
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]
qwik - Instant-loading web apps, without effort
awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Next.js - The React Framework
lit-element - LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.
SvelteKit - web development, streamlined
Gatsby - The best React-based framework with performance, scalability and security built in.