# Solid

Use [`@nanostores/solid`](https://github.com/nanostores/solid) and `useStore()` composable function to get store’s value and re-render component on store’s changes.

```js
import { useStore } from '@nanostores/solid'

import { $profile } from '../stores/profile.js'

export function Header({ postId }) {
  const profile = useStore($profile)
  return <header>Hi, {profile().name}</header>
}
```

***

*Imported from the [Nano Stores README](https://github.com/nanostores/nanostores/blob/1.5.5/README.md#solid) for version 1.5.5. Improve this page there.*
