Skip to content

Clean-up router implementation#8617

Merged
matthewp merged 5 commits into
withastro:mainfrom
martrapp:morechores
Sep 21, 2023
Merged

Clean-up router implementation#8617
matthewp merged 5 commits into
withastro:mainfrom
martrapp:morechores

Conversation

@martrapp

Copy link
Copy Markdown
Member

Changes

no new feature,
no changeset
mainly review comments from #8571

  • optimization (do not wait for complete document if media-type is not HTML)
  • preparations for CSR API refactoring
  • reducing technical debt
  • better comments
  • better readable code

Testing

all e2e tests pass.

Docs

no changes/features
n/a

@changeset-bot

changeset-bot Bot commented Sep 21, 2023

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9a81bca

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the pkg: astro Related to the core `astro` package (scope) label Sep 21, 2023
@matthewp matthewp changed the title More chores Clean-up router implementation Sep 21, 2023
@matthewp matthewp merged commit e8c997d into withastro:main Sep 21, 2023
@martrapp martrapp deleted the morechores branch September 21, 2023 14:37
martrapp added a commit that referenced this pull request Sep 27, 2023
* refactored CSR into goto() function

* first refectoring for router API

* added test

* added comments to fixture

* rename + preliminary changeset

* changeset: now 'minor' and featuring Mathew's example from the docs

* moved for simpler diff

* update after #8617

* fixed ts-errors

* more comprehensible handling of intra-page state

* sync with main

* synch from next_tm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants