Browse Source

Update createcontext.md

main
dan 3 years ago
committed by GitHub
parent
commit
4de082d220
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/pages/apis/createcontext.md

2
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. `createContext` lets you create a [context](/learn/passing-data-deeply-with-context) that components can provide or read.
```js ```js
const SomeContext = createContext(defaultValue); const SomeContext = createContext(defaultValue)
``` ```
</Intro> </Intro>

Loading…
Cancel
Save