使用下一个JS发送请求而不是客户端过渡
开始了解下一个JS并尝试与React一起使用,而下一个JS则解决SEO友好主题,例如SSR,默认代码 - 分类,使用页面目录也强制使用< link>
组件而不是< a>
在第一个请求之后启用默认客户端端过渡,如何每次将请求发送到服务器?有什么方法可以避免客户端的过渡并启用浏览器默认行为。
在使用链接的情况下,请感谢
const Check = () => {
return (<Link href="/about"> <a> About </a> </Link>);
}
您禁用浏览器默认加载,以确保客户端过渡,我们如何在没有客户端端过渡的情况下启用浏览器默认值。我已经在其文档中看到了.eslint JSON特定配置,并且无法找到任何属性。
编辑:
Started understanding Next js and trying to use along with React, while Next js addresses the SEO friendly topics such as SSR, default code-splitting, using pages directory it also forces to use <Link>
components instead of <a>
enabling the default client side transitions after the very first request, How can i send the request to server everytime ? Is there a way we can avoid client-side transitions and enable the browser default behavior.
Thanks in Advance
const Check = () => {
return (<Link href="/about"> <a> About </a> </Link>);
}
Using Link is mandatory and it disables the browser default loading ensuring the client transitions, How can we enable the browser default without client side transitions. I have seen the .eslint json specific config in their documentation and unable to find any property for that.
EDIT:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论