-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
developer docs #14230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Agreed, most of my knowledge of Svelte's internals has come from reading compiled outputs and skimming the source code, which probably isn't a good teacher in the long run. |
Since you're still new to the code base: what specifically would have helped you?
|
Probably more information about the compiler(particularly the HTMLx parser), and also some in depth info on the internals would help. For example, what the differences between the different |
This is actually something I had the idea of doing for signals to solidify my knowledge of the reactivity system but I agree, having a general document would be fantastic. |
I've been thinking about this recently and I don't think we should approach it like we do the regular Svelte docs in which we document each function; due to the ever-changing function names and parameters, it'd be difficult to keep it up to date. |
I would propose to add cursor rules to the project to get the most out of LLMs It would help maintaining consistency and make the AI aware of how the repo is structured and eventually gotchas when modifying certain parts Describe the proposed solutionSome ideas:
The list can keep expanding and can touch all the LSP stuff and the CLI and the lints and you can just keep going. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
There are parts of Svelte I don't understand since the rewrite. This makes it harder for me to contribute, but mostly just harder for me to understand how Svelte interacts with SvelteKit, to have productive conversations with other maintainers, etc.
Describe the proposed solution
Write some basic developer documentation. If the only thing covered were the anchor comments I would be happy enough 😄 I'd really like to understand how hydration, dom creation, and transitions work and interact with those comments.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: