dan
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
beta/src/pages/apis/createcontext.md
|
|
@ -7,7 +7,7 @@ title: createContext |
|
|
|
`createContext` lets you create a [context](/learn/passing-data-deeply-with-context) that components can provide or read. |
|
|
|
|
|
|
|
```js |
|
|
|
const SomeContext = createContext(defaultValue); |
|
|
|
const SomeContext = createContext(defaultValue) |
|
|
|
``` |
|
|
|
|
|
|
|
</Intro> |
|
|
|