An open API service indexing awesome lists of open source software.

https://github.com/zeljkovranjes/solid-posthog

PostHog for SolidJS
https://github.com/zeljkovranjes/solid-posthog

posthog posthog-component solid-component-library solidjs typescript

Last synced: about 2 months ago
JSON representation

PostHog for SolidJS

Awesome Lists containing this project

README

          

# solid-posthog

[![npm package](https://img.shields.io/npm/v/posthog-js?style=flat-square)](https://www.npmjs.com/package/posthog-js)
[![MIT License](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](https://opensource.org/licenses/MIT)

Integrates PostHog with the SolidJS environment.

## Quick start

```bash
npm i solid-posthog
# or
yarn add solid-posthog
# or
pnpm add solid-posthog
```

```tsx
import { PostHogProvider } from 'solid-posthog'
```

```tsx
const App: Component = () => {
return (



logo



Edit src/App.tsx and save to reload.



Learn Solid




)
}
```