(
Error: {err().toString()}
)}
>
```
--------------------------------
### Import createContext
Source: https://v2.solidjs.com/reference/solid-js/components-context/create-context
Import the createContext function from the solid-js package.
```javascript
import { createContext } from "solid-js";
```
--------------------------------
### Configure environment schema path
Source: https://v2.solidjs.com/building-apps/environment
Specify a custom path for the environment schema in the SolidStart Vite configuration.
```javascript
solid({
start: {
env: "./config/env.ts",
},
});
```
--------------------------------
### createStore(initialValue)
Source: https://v2.solidjs.com/reference/solid-js/stores/create-store
Creates a deeply-reactive store from an initial value, wrapping it in a reactive proxy.
```APIDOC
## createStore(initialValue)
### Description
Creates a deeply-reactive store backed by a Proxy. Reads track each property accessed, and only the parts that change trigger updates.
### Signature
`createStore(initialValue)`
### Parameters
- **initialValue** (any) - The initial state object or value to be wrapped in a reactive proxy.
```
--------------------------------
### Basic mapArray Usage
Source: https://v2.solidjs.com/reference/solid-js/advanced/jsx-component-primitives/map-array
Example of using mapArray to transform an items list into a view with a fallback for empty states.
```javascript
const view = mapArray(items, (item, index) => `${index()}: ${item.label}`, {
fallback: () => "no items",
});
```
--------------------------------
### Resolving a reactive expression
Source: https://v2.solidjs.com/reference/solid-js/advanced/interop-async/resolve
Example of using resolve to await a value from a reactive memo outside of a tracking scope.
```javascript
const user = createMemo(() => fetch(`/users/${id()}`).then((r) => r.json()));
// outside any reactive scope
const initial = await resolve(() => user());
```
--------------------------------
### Import createMemo
Source: https://v2.solidjs.com/reference/solid-js/reactivity/create-memo
Required import from the solid-js package.
```typescript
import { createMemo } from "solid-js";
```
--------------------------------
### Using flatten in a Custom Renderer
Source: https://v2.solidjs.com/reference/solid-js/advanced/interop-async/flatten
Example of using flatten to process children manually within a custom renderer.
```typescript
// Custom renderer walking a children tree manually. Most authors should
// use `children()` from solid-js, which memoizes the resolved value.
function renderChildren(value: unknown): unknown {
return flatten(value, { skipNonRendered: true });
}
```
--------------------------------
### Configure test script
Source: https://v2.solidjs.com/guides/testing
Add the test command to your package.json file.
```json
{
"scripts": {
"test": "vitest"
}
}
```
--------------------------------
### Defining a social tag block
Source: https://v2.solidjs.com/reference/solid-meta/head
Example of using Head to group multiple meta and title tags for an article component.
```typescript
import { Head, Meta, Title } from "@solidjs/meta";
export default function Article(props: {
article: () => { title: string; image: string };
}) {
return (