Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow passing null to maskTextClass/blockClass #1373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mdellanoce
Copy link
Contributor

Allows you to disable maskTextClass and blockClass by passing null, which can give a little performance boost for large snapshots/mutations if you only do your masking/blocking with selectors. Regex class matching in particular seems to be a pretty big drag on performance.

Copy link

changeset-bot bot commented Dec 8, 2023

🦋 Changeset detected

Latest commit: ef203ee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
rrweb-snapshot Patch
rrweb Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
@rrweb/web-extension Patch
rrvideo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@eoghanmurray
Copy link
Contributor

This seems great, sorry for the delay in getting it reviewed.
Could you merge or rebase on current master and push here in order to trigger the tests again?

@colingm colingm force-pushed the md-disable-mask-block-class branch from 02f8a3f to ef203ee Compare May 1, 2024 17:40
@colingm
Copy link
Contributor

colingm commented May 1, 2024

@eoghanmurray this is rebased, sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants