added docs for react

This commit is contained in:
goenning 2023-09-01 19:35:26 +01:00
parent b1062af145
commit 971e423e42
5 changed files with 123 additions and 1 deletions

View file

@ -1,3 +1,7 @@
## 0.2.0
- Some internal refactor to support the new `@aptabase/react` package
## 0.1.3
- Add automatic session timeout after 1 hour of inactivity

View file

@ -4,6 +4,8 @@
A tiny SDK (1 kB) to instrument your web app with Aptabase, an Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps.
Building a React app? Use the `@aptabase/react` package instead.
> 👉 **IMPORTANT**
>
> This SDK is for **Web Applications**, not websites. There's a subtle, but important difference. A web app is often a lot more interactive and does not cause a full page reload when the user interacts with it. It's often called a **Single-Page Application**. A website, on the other hand, is a lot more content-focused like marketing sites, landing pages, blogs, etc. While you can certainly use Aptabase to track events on websites, please be aware that each page reload will be considered a new session.

View file

@ -1,6 +1,6 @@
{
"name": "@aptabase/web",
"version": "0.1.3",
"version": "0.2.0",
"type": "module",
"description": "JavaScript SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps",
"main": "./dist/index.cjs",