Amp page level reload (#6971)
* Only refresh the page when the active page is updated in AMP mode * Update handling of page reload to make sure it still refreshes after a change to another page * Update checking to be more accurate * Fix amp-dev not being loaded without experimental.amp and remove next.config from amp example * Remove old with-amp example and rename experimental-amp to with-amp * update example name Co-Authored-By: Nijjk <jj@jjsweb.site> * Update comment wording Co-Authored-By: Nijjk <jj@jjsweb.site> * Use document for reload to keep scroll position Co-Authored-By: Nijjk <jj@jjsweb.site> * fallback to reloading on error Co-Authored-By: Nijjk <jj@jjsweb.site> * Update with-amp example readme
Showing
文件已移动
想要评论请 注册 或 登录