rfcs
isotropy-ast-analyzer-db
rfcs | isotropy-ast-analyzer-db | |
---|---|---|
16 | 1 | |
271 | 0 | |
0.7% | - | |
0.0 | 0.0 | |
4 months ago | over 6 years 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.
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
isotropy-ast-analyzer-db
-
Comparing Svelte and React
I am quite aware of how complex it can be [1], but it can be done. You're right about it being complex, but such work is within scope for what's perhaps a central design decision for a library. Yes there'll be bugs, but it'll stabilize over time.
Just to be clear, I am NOT saying that Svelte needed to do this. But merely suggesting options for discussion and learning.
[1]: https://github.com/jeswin-unmaintained/isotropy-ast-analyzer... - Here's for instance, some code I wrote for analyzing a JS sort expression. You'd think it'd take just a few hours, until you get to it. But certainly not insurmountable. Btw, it uses an AST analysis framework I wrote called chimpanzee - which has zero users now and could use some love. :) https://github.com/jeswin/chimpanzee
What are some alternatives?
svelte-subcomponent-preprocessor - A Svelte preprocessor for writing more than one component per file.
luna-testing - Simple, modern, opinionated JavaScript unit testing
Svelte - Cybernetically enhanced web apps
supabase - The open source Firebase alternative.
svelte-actions - prototype official actions for Svelte
routify - Automated Svelte routes