Svelte
Alpine.js
Our great sponsors
Svelte | Alpine.js | |
---|---|---|
533 | 217 | |
66,386 | 23,316 | |
1.9% | 1.7% | |
9.5 | 7.5 | |
6 days ago | 7 days ago | |
TypeScript | HTML | |
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.
Svelte
- Introducing react.dev: the new React docs site!
-
Closing, Cloning, or Disabling the Shadow DOM
[1] The question of removing the shadow DOM or creating the topic has been reported at the webcomponents/polyfills repository under issue #82 , and svelte/sveltjs issue #1748 .
-
We have started a new Svelte component library inspired by tabler.io: YeSvelte
I opened an issue on Svelte's GitHub here and they didn't like that feature :)
-
Need an advice for frontend framework (beginner in frontend development)
But if you're going to be guaranteed coding all your components from scratch anyway, i'd recommend svelte instead. Because it has less bloat (no vDOM / less complicated state lifecycle to care about), and is easier to style without other libs like tailwind or vanilla-extract.
-
Build a High-Performing Ecommerce with Svelte and Medusa Backend
The next step is to create and set up a new Svelte project for the ecommerce project. This Svelte commerce will use SvelteKit since it is the recommended setup method.
-
Svelte and Tailwind for building Chrome Extension
Svelte is a JavaScript framework that compiles your code into efficient JavaScript that surgically updates the DOM. It is a compiler that converts your code into a more efficient version of itself.
-
[AskJS] How much CS knowledge does a frontend dev really need?
If I were starting something, (or even if I were incrementally moving over pages from a larger project as they were touched), I would use Svelte / Svelte Kit 100% of the time. It's effectively a language (the use of JS/TS, CSS, and HTML together but nicer) with a compiler rather than a runtime framework. It's dead simple and it produces insanely small and performant output by default. Both of those have excellent tutorials you can use right on their website without installing anything.
-
Question: Where does Nuxt 3 fit in, in 2023?
In 2023 there are a wealth of developer options for front-end: React, Vue, Svelte, Solid and many more.
-
Do we really need HTML?
There are many libraries and frameworks that try to change the roles like Svelte, that creates precompiled JS code from a source, which is made of a melange of HTML and JS. Finally you have the choice to run your code on server- oder client side.
-
Maximizing Performance in Angular Applications: Proven Tips and Techniques
If your app requires high performance, consider using a framework that is specifically designed for performance, such as Svelte, Vue, or React. If you insist on using Angular, you can still optimize your application by following the tips below...
Alpine.js
-
Which UI framework should I pick up as my first?
It depends a lot on what your project actually needs, but something like HTMX, AlpineJS, or even just plain old Typescript/Javascript might well be enough. If the majority of the work will be happening on the back end in Kotlin, and all you need is some UI to occasionally update itself or toggle a menu or something, then you don't really need to touch any of the heavyweight options at all.
-
yOU DON'T nEEd a fRamEWoRk
To get started, I created a new project folder and created an empty html file. I chose not to use npm and instead opt for link and script tags from CDNs. I threw in Bootstrap and Alpine.js. Alpine is basically the modern version of jQuery, and I'm more comfortable with Alpine from the copious amount of classes my school had on it that one year. Bootstrap provided me with a pre-built user interface that I could customize, and Alpine.js allowed me to add interactivity to my app.
-
I'm trying to build a tool like modulargrid.net's. Which programming language would be best?
I disagree with u/AgreeableLeg3672 - jQuery is fine if you want to add some interactivity to an admin panel and don't want to bother with a full install of React, Vue, etc. but even then something like AlpineJS is more modern.
- I can finally say "My favorite programming language is HTML"
-
Need help picking front end framework
Others have given good options/advice, but I would also like to point out AlpineJS as another option. You can get a lot of SPA-like functionality out of it without writing much JS. Fancy !== good.
- Alternative to jQuery Unobtrusive Validation in ASP.NET Core 7
-
The Future (and the Past) of the Web Is Server Side Rendering
Personally I would use htmx and roundtrips for all sorts of modification including data (such as reorganizing two rows in a table). But you'd also do that in an SPA, right? How do you prevent desyncs there? Also for e.g. sorting you'd need a server roundtrip anyway in the (likely) case where you use something like pagination or lazy loading.
For sending data, you would just have a reply that instructs HTMX to display a success message. On an SPA you'd have the same. With both, you can interact with the page while the data is being sent.
Of course, sometimes you want purely 'cosmetic' actions, such as an "add row" button that pops open some data entry fields. For something like that you should not use htmx itself, but instead something like https://alpinejs.dev/.
- Question on JavaFX web applications
-
I'm sticking with jQuery...anyone else like me?
Should check out htmx and alpinejs. Much cleaner if you're not going full SPA. jQuery quickly turns into a spaghetti mess.
-
Building web-based SaaS with Go as a solo entrepreneur. What should I be aware of?
I render everything on the server with Go templates and use AlpineJS to sprinkle interactivity.
What are some alternatives?
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]
lit - Lit is a simple library for building fast, lightweight web components.
petite-vue - 6kb subset of Vue optimized for progressive enhancement
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.
Next.js - The React Framework
qwik - The HTML-first framework. Instant apps of any size with ~ 1kb JS
awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
htmx - </> htmx - high power tools for HTML
React - The library for web and native user interfaces
SvelteKit - web development, streamlined
Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]
jQuery - jQuery JavaScript Library