Skip to content

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