File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ The **React-Ts-Template** project template aims to reduce developers' tedious co
121121> [ React-Ts-Template] ( https://github.com/huangmingfu/react-ts-template )
122122
123123## Note
124- > Currently, some UI libraries do not support React 19. Please be cautious when installing and using them.
125- > This project does not use any features specific to version 19. If needed, you can directly downgrade to version 18 using the following command.
124+ > 1. Currently, some UI libraries do not support React 19. Please be cautious when installing and using them.
125+ > 2. This project does not use any features specific to version 19. If needed, you can directly downgrade to version 18 using the following command.
126126``` bash
127127pnpm install react@18.3.1 react-dom@18.3.1
128128```
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ GitHub 项目地址:[React-Ts-Template](https://github.com/huangmingfu/react-t
123123> [ React-Ts-Template] ( https://github.com/huangmingfu/react-ts-template )
124124
125125## 注意
126- > 目前有一些ui库还未支持React19,注意甄别安装使用。
127- > 本项目并未使用19版本的相关特性,如需要,可以直接使用如下命令降级到18版本。
126+ > 1. 目前有一些ui库还未支持React19,注意甄别安装使用。
127+ > 2. 本项目并未使用19版本的相关特性,如需要,可以直接使用如下命令降级到18版本。
128128``` bash
129129pnpm install react@18.3.1 react-dom@18.3.1
130130```
Original file line number Diff line number Diff line change 33 * 不确定的影响(来源网上评论):
44 * 在useEffect 里去做路由守卫的话是否会出现页面内容加载完后以及触发接口调用后才跳出页面的情况。
55 *
6- * React-Ts-Template 默认使用的是第一种实现方式,如果更喜欢下面这种,可以根据情况修改;
7- * 如果使用默认的实现, 可以将此文件删除。
6+ * React-Ts-Template 默认使用的是第一种实现方式(loader) ,如果更喜欢下面这种,可以根据情况修改;
7+ * 如果使用默认的loader实现,【 可以将此文件删除】 。
88 *
9- * 其他封装拦截组件方式参考 :
9+ * 其他拦截组件封装方式参考 :
1010 * https://segmentfault.com/a/1190000044439881
1111 */
1212import { FC , ReactNode , useEffect } from 'react' ;
Original file line number Diff line number Diff line change 1- /* * 公共样式放置处 */
1+ /* * 公共样式放置处,main.tsx 中被引入 */
22@import ' ../css/reset.css' ; // 重置样式
33
44/* * v-show */
You can’t perform that action at this time.
0 commit comments