JiGuBlog
文章标签关于工具
首页
文章
标签
关于
工具
Published on
2023年2月16日星期四

nextjs 与 react 区别

Authors
  • avatar
    Name
    JiGu
    Twitter
    @crypto20x

默认SSG

nextjs 默认是静态生成页面,如果有变量在渲染时状态不确定就会报错。需要用useState() hook确定变量的状态,或者用getStatisProps()

Discuss on Twitter • View on GitHub

Tags

前端

Previous Article

前端渲染分类

Next Article

vue3转react hook快速指南
← Back to the blog
Donate erc-20: 0xe6E4Bcdbf6b551478971aDf45F41e402531ba661
JiGu
•
© 2025
•
代码 数字货币 记录生活. Coding,Crypto and Life JiGu Blog
Tailwind Nextjs Theme