Svelte
React
Our great sponsors
Svelte | React | |
---|---|---|
533 | 1399 | |
66,386 | 204,423 | |
1.9% | 1.7% | |
9.5 | 9.8 | |
6 days ago | 2 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.
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...
React
-
Is there a plugin that abstracts registering web components with React?
React has stated that this will be supported in the future. However that issue is old enough to be in kindergarten. So I'm looking for a nice easy abstraction in the meantime.
-
React: You Might Not Need an Effect
A bare closure would always see the latest values because it closes over them during render. And the latest useEffect closure will have closed over that method..
Here is the test suite for useEffectEvent and the test ensuring it does not provide a stable reference: https://github.com/facebook/react/blob/main/packages/react-r...
And then a wild 'exhaustive-deps'[0] appears!
-
React/Python Serverless B2B Starter App with Chalice
React.js - for our frontend
-
Everything You Need to Know About the Updated React Docs
The now-legacy documentation could originally be found at reactjs.org; this now redirects to the brand-new react.dev domain. When the new docs were still in beta, they were hosted at beta.reactjs.org, which now also redirects to react.dev. The original documentation can still be found, for those who need it, at legacy.reactjs.org. This was done to make a fresh start and clear separation between the current vs. legacy documentation.
-
React.dev
I find this to be a very nice high-level explanation: https://medium.com/@ryardley/react-hooks-not-magic-just-arra...
In reality we use a linked list rather than an array. If you wanna dive into the code, I can give some pointers. For example, useState is implemented like this during first render (https://github.com/facebook/react/blob/87c803d1dad7e5fe88634...) and like this during next renders (https://github.com/facebook/react/blob/87c803d1dad7e5fe88634...).
However, _conceptually_ I'd recommend to think of Hook return values similar to "extra inputs" to your function, kind of like extra arguments. There are different ways to formalize it in different languages. We picked plain function calls for simplicity and low overhead, although you could imagine `yield` with generators or something like that.
Unbelievable that they’ve gone ahead launching this, going all in on hooks, while the fundamental problem with them, which was raised in 2018 is still unsolved: https://github.com/facebook/react/issues/14099
And they just handwave it away in the docs with an imaginary future API. Embarrassing.
-
Starting a personal hobby project, could use some advice on the techstack
If you want to, you could build the front-end separately, using something like React or Vue, but that would require a good knowledge of JavaScript.
-
[AskJS] Which framework to choose?
You must have a very unique experience. React alone has well over 900 issues https://github.com/facebook/react/issues.
-
Seven Lessons I Have Learned From My Experience as a Software Developer
As a Frontend Engineer, I have found certain platforms and tutors who are known for publishing quality content. They include Frontend Masters, Framework documentation sites (e.g Vue and React), Vue School, Vue Mastery, Scrimba, and courses by Michael Thiessen, Maximilian Schwarzmuller and The Net Ninja.
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
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.
qwik - The HTML-first framework. Instant apps of any size with ~ 1kb JS
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
awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
SvelteKit - web development, streamlined
Gatsby - The fastest frontend for the headless web. Build modern websites with React.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core