svelte-subcomponent-preprocessor
A Svelte preprocessor for writing more than one component per file. (by srmullen)
rfcs
RFCs for changes to Svelte (by sveltejs)
Our great sponsors
svelte-subcomponent-preprocessor | rfcs | |
---|---|---|
4 | 16 | |
45 | 271 | |
- | 0.7% | |
0.0 | 0.0 | |
over 2 years ago | 4 months ago | |
JavaScript | ||
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-subcomponent-preprocessor
Posts with mentions or reviews of svelte-subcomponent-preprocessor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-08.
- What are the biggest issues with Svelte?
-
Story on revisiting Svelte/Kit after moving to Solid, then Remix
Also, regarding the "multiple components in one file" problem, I wondered this aswell. Especially for prototyping, this would be nice. There is this, but I have never used it, and also this discussion.
-
Full-time React developer feeling like a caveman after using Svelte
https://github.com/srmullen/svelte-subcomponent-preprocessor x)
- A preprocessor for multiple svelte components in one file.
rfcs
Posts with mentions or reviews of rfcs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-05.
-
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?
When comparing svelte-subcomponent-preprocessor and rfcs you can also consider the following projects:
Svelte - Cybernetically enhanced web apps
SvelteLab - supercharged REPL for Svelte
supabase - The open source Firebase alternative.
luna-testing - Simple, modern, opinionated JavaScript unit testing
svelte-actions - prototype official actions for Svelte
routify - Automated Svelte routes
isotropy-ast-analyzer-db