We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2cb935 + 31ec355 commit c43619aCopy full SHA for c43619a
1 file changed
src/routes/concepts/context.mdx
@@ -24,7 +24,7 @@ This function has a `Provider` property that wraps the component tree you want t
24
```jsx tab title="/context/create.js"
25
import { createContext } from "solid-js";
26
27
-const MyContext = createContext();
+export const MyContext = createContext();
28
```
29
30
```jsx tab title="/context/component.jsx"
0 commit comments