@rrweb/rrweb-plugin-sequential-id-replay
Use this plugin in combination with the @rrweb/rrweb-plugin-sequential-id-record plugin to record and replay events with a sequential id. See the guide for more info on rrweb.
Installation
1npm install @rrweb/rrweb-plugin-sequential-id-replay
Usage
1import rrweb from '@posthog/rrweb';
2import { getReplaySequentialIdPlugin } from '@posthog/rrweb-plugin-sequential-id-replay';
3
4const replayer = new rrweb.Replayer(events, {
5 plugins: [
6 getReplaySequentialIdPlugin({
7 // make sure this is the same as the record side
8 key: '_id', // default value
9 warnOnMissingId: true, // default value
10 }),
11 ],
12});
13replayer.play(); // ERROR: [sequential-id-plugin]: expect to get an id with value "42", but got "666"`
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site.
Gold Sponsors 🥇
Silver Sponsors 🥈
Bronze Sponsors 🥉
Backers
Core Team Members
|
Yuyz0112 |
Yun Feng |
eoghanmurray |
Juice10 open for rrweb consulting |
Who's using rrweb?
|
|
|
|
|
|
|
|
|
|
|
|
|
|