Skip to content

Commit

Permalink
link router discussion in static router experimental disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Dec 10, 2022
1 parent bfc808e commit c274502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/pages/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export default {

### Static Router

> _This feature is considered experimental._
> ⚠️ _This feature is experimental. Please follow along with [our discussion](https://github.com/ProjectEvergreen/greenwood/discussions/1033) to learn more._
Setting the `staticRouter` option to `true` will add a small router runtime in production for static pages to prevent needing full page reloads when navigation between pages that share a template. For example, the Greenwood website is entirely static, outputting an HTML file per page however, if you navigate from the _Docs_ page to the _Getting Started_ page, you will notice the site does not require a full page load. Instead, the router will just swap out the content of the page much like client-side SPA router would. This technique is similar to how projects like [**pjax**](https://github.com/defunkt/jquery-pjax) and [**Turbolinks**](https://github.com/turbolinks/turbolinks) work, and like what you can see on websites like GitHub.

Expand Down

0 comments on commit c274502

Please sign in to comment.