https://github.com/betasu/follow
订阅大佬的时间线
https://github.com/betasu/follow
Last synced: 5 days ago
JSON representation
订阅大佬的时间线
- Host: GitHub
- URL: https://github.com/betasu/follow
- Owner: BetaSu
- Created: 2020-12-08T08:18:25.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-20T03:57:41.000Z (over 5 years ago)
- Last Synced: 2025-02-23T16:54:22.073Z (over 1 year ago)
- Language: JavaScript
- Size: 727 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 说明
大佬时间线订阅——前端
## 技术栈
框架: 开启`Concurrent Mode`的实验版本[React](https://zh-hans.reactjs.org/docs/concurrent-mode-intro.html)
状态管理:[unstated-next](https://github.com/jamiebuilds/unstated-next)
数据请求:[SWR](https://swr.vercel.app/)
## VSCode 插件依赖
`tslint`用于`JS`代码检查
`stylelint`用于`less`代码检查
`prettier`用于格式化
```js
// 参考vscode配置
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"source.fixAll.tslint": true
},
"editor.formatOnSave": true,
"prettier.stylelintIntegration": true
}
```
## tip
报错:
```js
Cannot use JSX unless the '--jsx' flag is provided.ts(17004)
```
原因是`VSCode`使用了老版本`TS`,右下角将 TS 的版本切换为项目所使用的`TS`版本(4.1.2)。