Skip to content
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

Docs revamp #2032

merged 32 commits into from Mar 7, 2023

Docs revamp #2032

merged 32 commits into from Mar 7, 2023


Copy link

No description provided.

The client-side based implementation in #1281 makes HMR update for the
outlines flaky and unreliable.

The headers payload for each page chunk is relatively cheap in return
for the correctness, since they are inlined as a JSON string.
@yyx990803 yyx990803 marked this pull request as ready for review March 7, 2023 13:56
Copy link
Member Author

Note: this PR includes a number of features in addition to docs changes:

  • (dynamic routes) $params template global
  • (dynamic routes) params as root-level ref in useData()
  • Add isNotFound in PageData
  • deprecate Theme.NotFound and Theme.setup
  • Add Theme.extends
  • Pass files matched by watch to loader() in data loaders
  • Add defineLoader type helper for data loaders
  • Add loadEnv re-export from vite

@yyx990803 yyx990803 merged commit 97de635 into main Mar 7, 2023
8 checks passed
@brc-dd brc-dd deleted the docs branch March 9, 2023 06:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant