fix some typos in optimize-storage.md (#1565)
* fix some typos in optimize-storage.md * Update docs/recipes/optimize-storage.md * Create metal-mugs-mate.md --------- Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com>
This commit is contained in:
2
.changeset/metal-mugs-mate.md
Normal file
2
.changeset/metal-mugs-mate.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
@@ -49,7 +49,7 @@ rrweb.record({
|
|||||||
rrweb.record({
|
rrweb.record({
|
||||||
emit(event) {},
|
emit(event) {},
|
||||||
sampling: {
|
sampling: {
|
||||||
// Configure which kins of mouse interaction should be recorded
|
// Configure which kinds of mouse interaction should be recorded
|
||||||
mouseInteraction: {
|
mouseInteraction: {
|
||||||
MouseUp: false,
|
MouseUp: false,
|
||||||
MouseDown: false,
|
MouseDown: false,
|
||||||
@@ -78,7 +78,7 @@ import { pack } from '@rrweb/packer';
|
|||||||
|
|
||||||
rrweb.record({
|
rrweb.record({
|
||||||
emit(event) {},
|
emit(event) {},
|
||||||
packFn: rrweb.pack,
|
packFn: pack,
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ And you need to pass packer.unpack as the `unpackFn` in replaying.
|
|||||||
import { unpack } from '@rrweb/packer';
|
import { unpack } from '@rrweb/packer';
|
||||||
|
|
||||||
const replayer = new rrweb.Replayer(events, {
|
const replayer = new rrweb.Replayer(events, {
|
||||||
unpackFn: rrweb.unpack,
|
unpackFn: unpack,
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user