![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
reactSSR
瓜皮伦
从你的前端路过
展开
-
NextJS使用Redux
【代码】NextJS使用Redux。原创 2023-02-13 22:45:54 · 642 阅读 · 0 评论 -
NextJS(ReactSSR)
发生的时间:next build1). 纯静态化getStaticProps: 当渲染组件之前会运行 生成html + jsongetStaticPaths: 当渲染组件之前会运行 解决动态路由fallback:false: 什么都不做,如果没有静态页面,返回404true: 会给[id].html什么时候要使用静态化:如果你的页面不是根据不同的请求而展示不同,则推荐使用静态化。原创 2023-02-12 20:03:03 · 620 阅读 · 0 评论