If you have feedback and the feature is released as experimental, please leave it on the Stage 3 PR. Otherwise, comment on the Stage 2 issue (links below).
- Start Date:
- Reference Issues:
- Implementation PR:
- Stage 2 Issue:
- Stage 3 PR:
A brief, one or two sentence explanation of the proposal.
If the proposal involves a new or changed API, then include a basic code example. Otherwise, omit this section if it's not applicable.
Include any useful background detail that that explains why this RFC is important. What are the problems that this RFC sets out to solve? Why now? Be brief!
It can be useful to illustrate your RFC as a user problem in this section. (ex: "Users have reported that it is difficult to do X in Astro today.")
A concise, bulleted-list outlining the intended goals of this RFC.
- What are the exact problems that you are trying to solve with this RFC?
- Separate these goals from the solution that you will outline below.
- If this RFC isn't approved, these goals can be used to develop alternative solutions.
A concise, bulleted-list outlining anything intentionally left out of this RFC:
- Non-goal: A goal that is intentionally not addressed in this RFC.
- Out-of-scope: A goal that is related, but intentionally avoided here.
- Future: A goal that is related, but left to be addressed in the future.
This gives the reader the correct context on what is intentionally left out of scope. It is okay to leave this section empty.
This is the bulk of the RFC. Explain the design in enough detail for somebody familiar with Astro to understand, and for somebody familiar with the implementation to implement. This should get into specifics and corner-cases, and include examples of how the feature is used. Any new terminology should be defined here.
How will this feature's implementation be tested? Explain if this can be tested with unit tests or integration tests or something else. If relevant, explain the test cases that will be added to cover all of the ways this feature might be used.
Why should we not do this? Please consider:
- Implementation cost, both in term of code size and complexity.
- Whether the proposed feature can be implemented in user space.
- Impact on teaching people Astro.
- Integration of this feature with other existing and planned features
- Cost of migrating existing Astro applications (is it a breaking change?)
There are tradeoffs to choosing any path. Attempt to identify them here.
What other designs have been considered? What is the impact of not doing this?
Please consider:
- If we implement this proposal, how will existing Astro developers adopt it?
- Is this a breaking change? Can we write a codemod?
- Can we provide a runtime adapter library for the original API it replaces?
- How will this affect other projects in the Astro ecosystem?
Optional, but suggested for first drafts. What parts of the design are still to be determined?