Skip to content

chore: add option to disable diffing #208

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

Merged
merged 2 commits into from
Jun 21, 2020
Merged

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Jun 21, 2020

What:
Adjust logger so that state diffing needs to be enabled explicitly.

Why:
Because diffing has a noticeable impact on performance, while we don't always need it.

How:
Added a config option to the logger.

To enable diffing, just run localStorage.debug = 'diff', and refresh the page.

Checklist:

  • Tests
  • Ready to be merged

@smeijer smeijer force-pushed the feature/add-diff-toggle branch from 39b9bfa to 33cde68 Compare June 21, 2020 09:27
@smeijer smeijer merged commit 4db92db into develop Jun 21, 2020
@smeijer smeijer deleted the feature/add-diff-toggle branch June 21, 2020 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant