# subscribe is the foundation of reactivity

Source: docs/source/exhibits/core/atom/subscribe-is-the-foundation-of-reactivity.tsx

```tsx
import { useO } from "atom.io/react"

import { countAtom } from "./declare-an-atom.ts"

function Component() {
	const count = useO(countAtom)
	return <>{count}</>
}
```
