https://github.com/zcaceres/react-drift-ts
A tiny Typescript-ready React widget for Drift.com's chat widget. Built with NextJS in mind.
https://github.com/zcaceres/react-drift-ts
Last synced: 7 months ago
JSON representation
A tiny Typescript-ready React widget for Drift.com's chat widget. Built with NextJS in mind.
- Host: GitHub
- URL: https://github.com/zcaceres/react-drift-ts
- Owner: zcaceres
- License: mit
- Created: 2024-06-19T16:17:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-19T16:20:03.000Z (over 1 year ago)
- Last Synced: 2025-01-12T17:17:16.111Z (9 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-drift-ts
## What is it?
A tiny Typescript-ready React widget for [Drift.com](https://www.drift.com)'s chat widget. Built with NextJS in mind.
## Why?
The go-to widget for Drift integration is [react-driftjs](https://www.npmjs.com/package/react-driftjs). This widget hasn't been updated in years and has React 16 as a peer dependency which can prevent deployment. This project owes a bunch of its code to the original package. 🫡
## Setup
To install dependencies:
```bash
bun install
```To run:
```bash
bun run index.ts
```## To Use
Copy index.ts into your project and use it!