ractive
rfcs
ractive | rfcs | |
---|---|---|
3 | 16 | |
5,936 | 271 | |
0.0% | 0.7% | |
4.8 | 0.0 | |
about 2 months ago | 4 months ago | |
JavaScript | ||
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.
ractive
-
Cool & useful JavaScript libraries
Ractive.js : a template-driven UI library that transforms your templates, styles and logic into blueprints for highly interactive apps.
- An agnostic, reactive and minimalist (3kb) JavaScript UI library
-
Comparing Svelte and React
Uni-directional data flow was not exactly a new idea when React/Flow came out, they just made it more popular. There were quite a few other libraries/frameworks implementing similar ideas.
I heard that 'objectively better' line for years from 2015 onwards, mostly from less experienced devs. Facebook's backing and the personality cult that developed in the JS community around the time certainly had a part in it.
A framework called Ractive [1] was published by the author of Svelte in early 2013, which foreshadows some of the syntax seen in the latter.
[1] https://ractive.js.org/
rfcs
-
Forwarding slots to child components
There's an issue open already and a RFC: https://github.com/sveltejs/svelte/issues/6059 https://github.com/sveltejs/rfcs/pull/64
- anyone have a good document besides "read the source code" for the internals of how Svelte works?
-
Convincing management: React vs Svelte
The RFC ticket is here, so if anyone could provide valid use cases, please do it and push hard to make this happen: https://github.com/sveltejs/rfcs/pull/34
-
Svelte pros and cons!
In the state Svelte is as of this day, there are a few bumps making it harder to implement versatile sets of UI primitives / atomical components. Namely, some of the ones I've met are: lack of syntax to cleanly forward directives and transitions to a component's template (https://github.com/sveltejs/rfcs/pull/60), lack of default slot assignment (i.e. automatically assigning a child component to a parent's slot without requiring devs to manually specify slot="..."), inconsistent bind:group behavior when used on components with nested inputs or through a store passed with setContext, etc. I don't have as much experience trying to implement such UI library components with other frameworks I've used (Vue, Angular) so I can't really say for sure that these challenges are confined to Svelte.
-
Some assorted Svelte demos: conditional wrappers, page transitions, actions
Good stuff. The conditional wrapper unfortunately doesn't work with directives, but the forward directive RFC would address that.
-
My Initial Svelte Notes
(Also a con): It's funny to me that a lot of people try to change Svelte to be "light-React" (see the Svelte RFCs). This also tells a lot about React too, it shows what React nails right on the head and what it misses horribly where Svelte got it right.
-
Typescript: keeping generic types across components
It's part of this proposal: https://github.com/sveltejs/rfcs/pull/38
-
How to use Svelte's style directive
Exclusive to elements: Like most Svelte directives (with the exception of on:), this does not work on components. There is an open RFC to allow forwarding directives to components, which would include style directives. However, this RFC has not been accepted at time of writing.
-
How to expose CSS values without bloating up components?
since v3.38.0 https://github.com/sveltejs/rfcs/pull/13 it not yet documented
-
Full-time React developer feeling like a caveman after using Svelte
All of these issues are very valid. For forwarding, I highly suggest you take a look at this RFC I wrote which will make this much https://github.com/sveltejs/rfcs/pull/60
What are some alternatives?
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
svelte-subcomponent-preprocessor - A Svelte preprocessor for writing more than one component per file.
Svelte - Cybernetically enhanced web apps
React - The library for web and native user interfaces.
supabase - The open source Firebase alternative.
rivets - Lightweight and powerful data binding.
luna-testing - Simple, modern, opinionated JavaScript unit testing
knockout - Knockout makes it easier to create rich, responsive UIs with JavaScript
svelte-actions - prototype official actions for Svelte
react-native - A framework for building native applications using React
routify - Automated Svelte routes