1
0
Fork 0
Browse Source

vault backup: 2022-03-29 15:39:34

master
YuJian 3 years ago
parent
commit
65619013c2
  1. 6
      .obsidian/workspace
  2. 5
      随时随地/简单的 React 思考 - Context.md

6
.obsidian/workspace

@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "随时随地/简单的 React 思考 - Context.md", "file": "随时随地/简单的 React 思考 - Fiber 创建.md",
"mode": "source", "mode": "source",
"source": false "source": false
} }
@ -69,7 +69,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "随时随地/简单的 React 思考 - Context.md", "file": "随时随地/简单的 React 思考 - Fiber 创建.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -89,10 +89,10 @@
}, },
"active": "1508f46ea2481b37", "active": "1508f46ea2481b37",
"lastOpenFiles": [ "lastOpenFiles": [
"随时随地/简单的 React 思考 - Fiber 创建.md",
"随时随地/简单的 React 思考 - Context.md", "随时随地/简单的 React 思考 - Context.md",
"基于 React Hook 开发的 Jira 系统/React 状态管理工具的简单思考.md", "基于 React Hook 开发的 Jira 系统/React 状态管理工具的简单思考.md",
"随时随地/简单的 React 思考 - Hook.md", "随时随地/简单的 React 思考 - Hook.md",
"随时随地/简单的 React 思考 - Fiber 创建.md",
"随时随地/React Hooks 的碎片记录.md", "随时随地/React Hooks 的碎片记录.md",
"随时随地/useEffect 和 Debounce.md", "随时随地/useEffect 和 Debounce.md",
"随时随地/奇怪的疑惑.md", "随时随地/奇怪的疑惑.md",

5
随时随地/简单的 React 思考 - Context.md

@ -3,3 +3,8 @@
这里主要是对 Context API 的简单记录 这里主要是对 Context API 的简单记录
### React.createContext ### React.createContext
```javascript
const MyContext = React.createContext(default)
```
createContext 会创建一个
Loading…
Cancel
Save