• Stars
    star
    273
  • Rank 150,780 (Top 3 %)
  • Language
  • Created about 6 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RFCs for changes to Svelte

Svelte RFCs

This is a place to discuss major changes to Svelte — where 'major' implies significant changes either to public interfaces or internal implementation details, particularly those that could be controversial or involve breaking changes.

Most changes don't need to go through the Request for Comments (RFC) process and can rely on issues and pull requests.

A huge part of the value on an RFC is defining the problem clearly, collecting use cases, showing how others have solved a problem, etc. Coming up with a design is very iterative and only one part of the process. An RFC can provide tremendous value without the design described in it being accepted.

The is inspired by (which is to say shamelessly ripped off from) the RFC process adopted by React, Ember and others. The process itself is subject to change (or even abandonment!) as we gain experience with it.

The process

  • Fork the RFC repo http://github.com/sveltejs/rfcs
  • Copy 0000-template.md to text/0000-my-feature.md (where 'my-feature' is descriptive. Don't assign an RFC number yet). Fill in the RFC. Put care into the details: RFCs that do not present convincing motivation, demonstrate understanding of the impact of the design, or are disingenuous about the drawbacks or alternatives tend to be poorly-received.
  • Submit a pull request. As a pull request the RFC will receive design feedback from the larger community, and the author should be prepared to revise it in response.
  • Build consensus and integrate feedback. RFCs that have broad support are much more likely to make progress than those that don't receive any comments.
  • Eventually, the team will decide whether the RFC is a candidate for inclusion in Svelte. RFCs that are candidates for inclusion in Svelte will enter a "final comment period" lasting 3 calendar days. The beginning of this period will be signaled with a comment and tag on the RFCs pull request.
  • An RFC can be modified based upon feedback from the team and community. Significant modifications may trigger a new final comment period. An RFC may be rejected by the team after public discussion has settled and comments have been made summarizing the rationale for rejection. A member of the team should then close the RFCs associated pull request.
  • An RFC may be accepted at the close of its final comment period. A team member will merge the RFCs associated pull request, at which point the RFC will become 'active'.

The RFC life-cycle

Once an RFC becomes active, then authors may implement it and submit the feature as a pull request to the Svelte repo. Becoming 'active' is not a rubber stamp, and in particular still does not mean the feature will ultimately be merged; it does mean that the core team has agreed to it in principle and are amenable to merging it.

Furthermore, the fact that a given RFC has been accepted and is 'active' implies nothing about what priority is assigned to its implementation, nor whether anybody is currently working on it.

Modifications to active RFCs can be done in followup PRs. We strive to write each RFC in a manner that it will reflect the final design of the feature; but the nature of the process means that we cannot expect every merged RFC to actually reflect what the end result will be at the time of the next major release; therefore we try to keep each RFC document somewhat in sync with the language feature as planned, tracking such changes via followup pull requests to the document.

Implementing an RFC

The author of an RFC is not obligated to implement it. Of course, the RFC author (like any other developer) is welcome to post an implementation for review after the RFC has been accepted.

If you are interested in working on the implementation for an 'active' RFC, but cannot determine if someone else is already working on it, feel free to ask (e.g. by leaving a comment on the associated issue).

Reviewing RFCs

We tend to do our thinking informally, in the open, when time allows. There are a large number of community members relative to a small number of a core contributors who have many responsibilities. You can help ensure your RFC is reviewed in a timely manner by putting in the time to think through the various details discussed in the template. It doesn't scale to push the thinking onto a small number of core contributors. If reviewers raise an issue, don't dismiss it as irrelevant, but take the time to provide examples or data explaining it and coming up with ways that the design might be changed in response. Sometimes answering a single question can be very time consuming (such as setting up a benchmark), but discussions tend to stall out if concerns don't get thoroughly addressed.

More Repositories

1

svelte

Cybernetically enhanced web apps
JavaScript
77,898
star
2

kit

web development, streamlined
JavaScript
18,346
star
3

sapper

The next small thing in web development, powered by Svelte
TypeScript
7,007
star
4

realworld

SvelteKit implementation of the RealWorld app
Svelte
2,212
star
5

template

Template for building basic applications with Svelte
JavaScript
1,743
star
6

svelte-preprocess

A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
TypeScript
1,743
star
7

svelte-devtools

A browser extension to inspect Svelte application by extending your browser devtools capabilities
Svelte
1,457
star
8

language-tools

The Svelte Language Server, and official extensions which use it
TypeScript
1,199
star
9

vite-plugin-svelte

Svelte plugin for http://vitejs.dev/
JavaScript
838
star
10

prettier-plugin-svelte

Format your svelte components using prettier.
TypeScript
726
star
11

sapper-template

Starter template for Sapper apps
JavaScript
703
star
12

svelte-virtual-list

A virtual list component for Svelte apps
JavaScript
673
star
13

integrations

Ways to incorporate Svelte into your stack
632
star
14

gl

A (very experimental) project to bring WebGL to Svelte
JavaScript
603
star
15

svelte-loader

Webpack loader for svelte components.
JavaScript
596
star
16

community-legacy

Svelte community meetups, packages, resources, recipes, showcase websites, and more
Svelte
563
star
17

component-template

A base for building shareable Svelte components
JavaScript
554
star
18

learn.svelte.dev

A soup-to-nuts interactive tutorial on how to build apps with Svelte
Svelte
522
star
19

rollup-plugin-svelte

Compile Svelte components with Rollup
JavaScript
500
star
20

eslint-plugin-svelte3

An ESLint plugin for Svelte v3 components.
JavaScript
372
star
21

svelte-scroller

A <Scroller> component for Svelte apps
Svelte
345
star
22

template-webpack

Template for building basic Svelte applications with webpack
JavaScript
303
star
23

sites

Monorepo for the sites in the Svelte ecosystem
Svelte
291
star
24

eslint-plugin-svelte

ESLint plugin for Svelte using AST
TypeScript
287
star
25

svelte-repl

The <Repl> component used on the Svelte website
Svelte
274
star
26

sapper-studio

An electron app for building Sapper projects
HTML
220
star
27

v2.svelte.dev

The Svelte v2 website
HTML
209
star
28

svelte-hmr

HMR commons for Svelte 3
JavaScript
202
star
29

site-kit

Svelte
196
star
30

hn.svelte.dev

Hacker News clone built with Svelte and Sapper
Svelte
164
star
31

svelte-todomvc

TodoMVC implemented in Svelte
Svelte
139
star
32

svelte-subdivide

A component for building Blender-style layouts in Svelte apps
JavaScript
130
star
33

svelte-cli

Command line interface for Svelte
JavaScript
104
star
34

svelte-eslint-parser

Svelte parser for ESLint
TypeScript
92
star
35

gestures

Svelte actions for cross-platform gesture detection
TypeScript
89
star
36

svelte-hackernews

WIP Hacker News clone written in Svelte
JavaScript
78
star
37

svelte-custom-elements

Turn Svelte components into web components
JavaScript
49
star
38

svelte-extras

Extra methods for Svelte components
JavaScript
43
star
39

sapper-template-rollup

Starter Rollup template for Sapper apps
JavaScript
40
star
40

kit-template-default

The default SvelteKit template, generated with create-svelte
Svelte
36
star
41

svelte-upgrade

Upgrade your Svelte templates for version 2
JavaScript
36
star
42

examples

A collection of Svelte(Kit) examples
35
star
43

branding

Logos etc for Svelte and related projects
35
star
44

hn.svelte.technology

Hacker News, built with Sapper
HTML
35
star
45

svelte-transitions

Officially supported transition plugins for Svelte
JavaScript
33
star
46

sapper-template-webpack

Starter webpack template for Sapper apps
JavaScript
32
star
47

discord-bot

TypeScript
32
star
48

svelte-atom

Syntax, diagnostics, and other smarts for Svelte in Atom
JavaScript
30
star
49

community

28
star
50

svelte-dbmonster

Svelte implementation of DBMonster
JavaScript
27
star
51

template-custom-element

Template for building basic applications with Svelte and custom elements
HTML
21
star
52

generate-ssr

Server-side rendering for Svelte
JavaScript
21
star
53

kit-sandbox

A sandbox for maintainers
JavaScript
18
star
54

template-store

Demonstrating the use of svelte/store
JavaScript
17
star
55

svelte-transitions-draw

Draw transition plugin for Svelte
JavaScript
16
star
56

api.svelte.dev

The API worker source for https://api.svelte.dev
TypeScript
14
star
57

sapper-legacy.svelte.dev

Old docs site for Sapper
HTML
13
star
58

action-deploy-docs

github action for the svelte org to deploy documentation to the svelte api
TypeScript
12
star
59

svelte-bench

Benchmarks for Svelte
JavaScript
10
star
60

sveltegram

Sapper/Svelte remix of nextgram
JavaScript
8
star
61

svelte-transitions-fade

Fade transition plugin for Svelte
JavaScript
8
star
62

assets

Large static files used on the Svelte website
7
star
63

svelte-transitions-slide

Slide transition plugin for Svelte
JavaScript
5
star
64

svelte-transitions-fly

Fly transition plugin for Svelte
JavaScript
4
star
65

redirects

Redirect old Svelte websites to their shiny new equivalents
JavaScript
3
star